impressionist/test_app/spec/fixtures/impressions.yml

26 lines
521 B
YAML
Raw Normal View History

2011-02-04 04:13:41 +00:00
<% 1.upto(7) do |i| %>
impression<%= i %>:
impressionable_type: Article
impressionable_id: 1
ip_address: 127.0.0.<%=i%>
created_at: 2011-01-01
<% end %>
impression8:
impressionable_type: Article
impressionable_id: 1
ip_address: 127.0.0.1
created_at: 2010-01-01
impression9:
impressionable_type: Article
impressionable_id: 1
ip_address: 127.0.0.1
created_at: 2011-01-03
impression10:
impressionable_type: Article
impressionable_id: 1
ip_address: 127.0.0.1
created_at: 2010-01-01