- # Read about fixtures at http://ar.rubyonrails.org/classes/Fixtures.html
- article1:
- title: Article 1!
- body: body
- extended: "extended content"
- created_at: <%= (Time.now - 2.days).to_s(:db) %>
- updated_at: <%= (Time.now - 2.days).to_s(:db) %>
- published_at: <%= (Time.now - 2.days).to_s(:db) %>
- allow_comments: true
- allow_pings: true
- permalink: article-1
- user: tobi
- author: Tobi
- guid: a87c4220-18d4-11da-aadd-0002a5d5c51b
- type: Article
- published: true
- state: published
- tags: foo, bar
- text_filter: markdown_filter
- article2:
- type: Article
- title: Article 2!
- body: body
- extended: extended content
- created_at: <%= (Time.now - 1.days).to_s(:db) %>
- updated_at: <%= (Time.now - 1.days).to_s(:db) %>
- published_at: <%= (Time.now - 1.days).to_s(:db) %>
- allow_comments: true
- allow_pings: true
- permalink: article-2
- user: longbob
- author: Bob
- guid: bbbbb
- published: true
- state: published
- tags: foo
- article3:
- type: Article
- title: Article 3!
- body: body
- extended: extended content
- created_at: 2004-06-01 20:00:02
- updated_at: 2004-06-01 20:00:02
- published_at: 2004-06-01 20:00:02
- allow_comments: true
- allow_pings: true
- permalink: article-3
- user: tobi
- author: Tobi
- guid: ccccc
- published: true
- state: published
- article4:
- type: Article
- title: Article 4!
- body: I'm not "public":http://www.example.com/public!
- published: false
- state: draft
- created_at: 2004-06-01 20:00:01
- updated_at: 2004-06-01 20:00:01
- published_at: 2004-06-01 20:00:01
- allow_comments: true
- allow_pings: true
- permalink: article-4
- user: tobi
- author: Tobi
- guid: ddddd
- tags: bar, bazz
- first_page:
- type: Page
- name: page_one
- title: Page One Title
- body: ho ho ho
- created_at: 2005-05-05 01:00:01
- published_at: 2005-05-05 01:00:01
- updated_at: 2005-05-05 01:00:01
- user: tobi
- published: true
- state: published
- another_page:
- type: Page
- name: page/two
- title: Another Page Title
- body: another body for yet another page
- updated_at: 2005-05-05 01:00:00
- created_at: 2005-05-05 01:00:00
- published_at: 2005-05-05 01:00:00
- user: tobi
- published: true
- state: published
- markdown_page:
- type: Page
- name: markdown-page
- title: Markdown Page
- text_filter: markdown_filter
- body: this is *markdown*.
- created_at: 2005-05-05 01:00:02
- updated_at: 2005-05-05 01:00:02
- published_at: 2005-05-05 01:00:02
- user: tobi
- published: true
- state: published
- inactive_article:
- type: Article
- title: Inactive Article
- body: body
- extended: extended content
- created_at: 2004-05-01 20:00:02
- updated_at: 2004-05-01 20:00:02
- published_at: 2004-05-01 20:00:02
- allow_comments: true
- allow_pings: true
- permalink: inactive-article
- user: tobi
- author: Tobi
- guid: i1n2a3c4t5i6v7e
- published: true
- state: published
- search_target:
- type: Article
- title: Find me!
- body: search target
- extended: extended content
- allow_comments: true
- allow_pings: true
- permalink: second-blog-article
- created_at: 2004-04-01 12:00:00
- updated_at: 2004-04-01 12:00:00
- published_at: 2004-04-01 12:00:00
- user: tobi
- author: Tobi
- guid: 2b1l0o6g4ar7
- published: true
- state: published
- xmltest:
- type: Article
- title: Associations aren't :dependent => true anymore
- body: originally seen on <a href="http://blog.rubyonrails.org/">blog.rubyonrails.org</a>
- extended: extended content
- allow_comments: true
- allow_pings: true
- permalink: associations-arent-dependent-true-anymore
- created_at: 2003-04-28 05:31:01
- updated_at: 2003-04-28 05:31:01
- published_at: 2003-04-28 05:31:01
- user: tobi
- author: Tobi
- guid: urn:uuid:0d676c66-4135-4a8b-9d65-b6a3248d3032
- published: true
- state: published
- markdown_article:
- type: Article
- title: How made link with markdown
- body: "in markdown formatnn * wen * usen [ok](http://blog.ok.com) to define a link"
- extended: extended content
- allow_comments: true
- allow_pings: true
- permalink: associations-arent-dependent-true-anymore
- created_at: 2003-04-28 05:31:00
- updated_at: 2003-04-28 05:31:00
- published_at: 2003-04-28 05:31:00
- user: tobi
- author: Tobi
- guid: urn:uuid:0d676c66-4135-4a8b-9d65-b6a3248d3033
- published: true
- state: published
- text_filter: markdown_filter
- spammed_article:
- type: Article
- title: C'mon Spam Me!
- body: A bunch of innocuous content
- allow_comments: true
- allow_pings: true
- permalink: cmon-spam-me
- created_at: 2001-01-01
- updated_at: 2001-01-01
- published_at: 2001-01-01
- user: tobi
- author: Tobi
- guid: urn:uuid:0d676c66-4135-4a8b-9d65-b6a3248d3023
- published: true
- state: published
- publisher_article:
- title: Article write by publisher
- body: body
- extended: extended content
- created_at: 2004-06-02 20:00:03
- updated_at: 2004-06-02 20:00:03
- published_at: 2004-06-02 20:00:03
- allow_comments: true
- allow_pings: true
- permalink: article-write-by-publisher
- user: user_publisher
- author: user_publisher
- guid: a87c4220-18d4-11db-aadd-1002a5d5c51c
- type: Article
- published: true
- state: published
- tags: foo, bar
- utf8_article:
- title: ルビー
- body: body
- extended: extended content
- created_at: 2004-06-02 20:00:04
- updated_at: 2004-06-02 20:00:04
- published_at: 2004-06-02 20:00:04
- allow_comments: true
- allow_pings: true
- permalink: ルビー
- user: user_publisher
- author: user_publisher
- guid: a87c4220-18d4-11db-aadd-1002a5d5c51d
- type: Article
- published: true
- state: published
- tags: foo2, bar2