Sha256: 43897caaedd2c29531e7b06c1ac2f1c73a42be9c8cb52d1cb6523574e1d3a06e

Contents?: true

Size: 547 Bytes

Versions: 3

Compression:

Stored size: 547 Bytes

Contents

# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/Fixtures.html

one:
  title: MyString
  body: MyText
  published: false
  user: one

two:
  title: MyString
  body: MyText
  published: false
  user: two

<% title = "The Best Title Ever, Really" %>
<% story = 'It was a dark and stormy night and the Captain said, "Tell me a story, son". So I began. ' * 100 %>
<% 500.times do |i| %>
post_<%= i %>:
  title: <%= "#{title}, part #{i}" %>
  body: <%= story %>
  published: <%= i.even? %>
  user: user_<%= i % 100 %>
<% end %>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
magic_grid-0.12.6 test/dummy/test/fixtures/posts.yml
magic_grid-0.12.5 test/dummy/test/fixtures/posts.yml
magic_grid-0.12.4 test/dummy/test/fixtures/posts.yml