Sha256: a54defdaad830130de461c9868030da11bb97cb2accc75aff6e1831653811a93

Contents?: true

Size: 445 Bytes

Versions: 1

Compression:

Stored size: 445 Bytes

Contents

<% def blurb; CouchRestRails::Fixtures.random_blurb; end %>

<% 5.times do |i| %>
record_<%= i %>:
  type: Foo
  title: <%= blurb.split('.').first %>
  body: <%= blurb %>
  tags: <%= blurb.split(' ').sort_by {rand}[0..3].map {|e| e.downcase.gsub(/[^a-z]/, '').strip}.inspect %>
  created_at: <%= (Time.now - 3600*rand(10)).utc.strftime('%Y/%m/%d %H:%M:%S +0000') %>
  updated_at: <%= Time.now.utc.strftime('%Y/%m/%d %H:%M:%S +0000') %>
<% end %>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
therealadam-couchrest-rails-0.1.1 spec/mock/fixtures/foos.yml