impressionist/test_app/spec/fixtures/impressions.yml

44 lines
834 B
YAML

<% 1.upto(7) do |i| %>
impression<%= i %>:
impressionable_type: Article
impressionable_id: 1
request_hash: a<%=i%>
session_hash: b<%=i%>
ip_address: 127.0.0.<%=i%>
created_at: 2011-01-01
<% end %>
impression8:
impressionable_type: Article
impressionable_id: 1
request_hash: a1
session_hash: b1
ip_address: 127.0.0.1
created_at: 2010-01-01
impression9:
impressionable_type: Article
impressionable_id: 1
request_hash: a1
session_hash: b2
ip_address: 127.0.0.1
created_at: 2011-01-03
impression10:
impressionable_type: Article
impressionable_id: 1
request_hash: a9
session_hash: b3
ip_address: 127.0.0.8
created_at: 2010-01-01
impression11:
impressionable_type: Article
impressionable_id: 1
request_hash: a10
session_hash: b4
ip_address: 127.0.0.1
created_at: 2010-01-01