Sha256: 5d1a38c11ea6603d18bd69913ca42351809524dbcdee5d53ab37f0c2007953a5

Contents?: true

Size: 418 Bytes

Versions: 17

Compression:

Stored size: 418 Bytes

Contents

<% comment_id = 0 %>
<% for book_num in 0..4 %>
  <% for comment_num in 0..50 %>
book_<%= book_num %>_comment_<%= comment_num %>:
  id: <%= comment_id %>
  body: This is comment <%= comment_num %> on book <%= book_num %>.
  author_id: <%= book_num.even? ? comment_id % 2 : (comment_id % 2) + 2 %>
  book_id: <%= book_num %>
  approved: <%= comment_num.even? %>
  <% comment_id = comment_id + 1 %>
  <% end %>
<% end %>

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
jsonapi-resources-0.7.1.beta1 test/fixtures/book_comments.yml
jsonapi-resources-0.7.0 test/fixtures/book_comments.yml
jsonapi-resources-0.6.2 test/fixtures/book_comments.yml
jsonapi-resources-0.6.1 test/fixtures/book_comments.yml
jsonapi-resources-0.6.0 test/fixtures/book_comments.yml
jsonapi-resources-0.5.9 test/fixtures/book_comments.yml
jsonapi-resources-0.5.8 test/fixtures/book_comments.yml
jsonapi-resources-0.5.7 test/fixtures/book_comments.yml
jsonapi-resources-0.5.6 test/fixtures/book_comments.yml
jsonapi-resources-0.5.5 test/fixtures/book_comments.yml
jsonapi-resources-0.5.4 test/fixtures/book_comments.yml
jsonapi-resources-0.5.3 test/fixtures/book_comments.yml
jsonapi-resources-0.5.2 test/fixtures/book_comments.yml
jsonapi-resources-0.5.1 test/fixtures/book_comments.yml
jsonapi-resources-0.5.0 test/fixtures/book_comments.yml
jsonapi-resources-0.4.4 test/fixtures/book_comments.yml
jsonapi-resources-0.4.3 test/fixtures/book_comments.yml