micro-blogger/test/fixtures/blogs.yml

48 lines
1.9 KiB
YAML
Raw Permalink Normal View History

2018-11-11 10:12:43 -06:00
# == Schema Information
#
# Table name: blogs
#
# id :integer not null, primary key
# article :text not null
# published_date :string default(""), not null
# title :string not null
# created_at :datetime not null
# updated_at :datetime not null
# user_id :integer
#
# Indexes
#
# index_blogs_on_user_id (user_id)
#
# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
author1:
title: My Opus
article: "Donec sed odio dui. Nulla vitae elit libero, a pharetra augue. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla vitae elit libero, a pharetra augue."
published_date: <%= (Time.zone.now - 8.days).to_s %>
author: author
author2:
title: A Work in Progress
article: "Donec sed odio dui. Nulla vitae elit libero, a pharetra augue. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla vitae elit libero, a pharetra augue."
author: author
sally1:
title: Vehicula Fringilla Consectetur Elit
article: "Donec sed odio dui. Nulla vitae elit libero, a pharetra augue. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla vitae elit libero, a pharetra augue."
published_date: <%= (Time.zone.now - 15.days).to_s %>
author: sally
sally2:
title: Tristique Malesuada Dapibus Euismod
article: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur blandit tempus porttitor. Donec sed odio dui. Nulla vitae elit libero, a pharetra augue."
published_date: <%= (Time.zone.now - 5.days).to_s %>
author: sally
sally3:
title: Tellus Quam Euismod Aenean
article: "Nullam id dolor id nibh ultricies vehicula ut id elit. Cras justo odio, dapibus ac facilisis in, egestas eget quam. Donec ullamcorper nulla non metus auctor fringilla."
author: sally