Files
fizzy/test/fixtures/events.yml
T

66 lines
1.6 KiB
YAML

logo_published:
creator: david
collection: writebook
eventable: logo (Card)
action: card_published
created_at: <%= 1.week.ago %>
logo_assignment_jz:
creator: david
collection: writebook
eventable: logo (Card)
action: card_assigned
particulars: <%= { assignee_ids: [ ActiveRecord::FixtureSet.identify(:jz) ] }.to_json %>
created_at: <%= 1.week.ago + 1.hour %>
logo_assignment_km:
creator: david
collection: writebook
eventable: logo (Card)
action: card_assigned
particulars: <%= { assignee_ids: [ ActiveRecord::FixtureSet.identify(:kevin) ] }.to_json %>
created_at: <%= 1.day.ago %>
layout_published:
creator: david
collection: writebook
eventable: layout (Card)
action: card_published
created_at: <%= 1.week.ago %>
layout_commented:
creator: david
collection: writebook
eventable: layout_overflowing_david (Comment)
action: comment_created
created_at: <%= 1.week.ago %>
layout_assignment_jz:
creator: david
collection: writebook
eventable: layout (Card)
action: card_assigned
particulars: <%= { assignee_ids: [ ActiveRecord::FixtureSet.identify(:jz) ] }.to_json %>
created_at: <%= 1.hour.ago %>
text_published:
creator: kevin
collection: writebook
eventable: text (Card)
action: card_published
created_at: <%= 1.week.ago %>
shipping_published:
creator: kevin
collection: writebook
eventable: shipping (Card)
action: card_published
created_at: <%= 1.week.ago %>
shipping_closed:
creator: kevin
collection: writebook
eventable: shipping (Card)
action: card_closed
created_at: <%= 2.days.ago %>