Skip to content

Commit

Permalink
Add fixtures
Browse files Browse the repository at this point in the history
  • Loading branch information
Artur Beljajev committed Mar 19, 2019
1 parent f61497c commit 750b91b
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/fixtures/log_contacts.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
one:
item_id: <%= ActiveRecord::FixtureSet.identify(:john) %>
item_type: Contact
event: update
8 changes: 8 additions & 0 deletions test/fixtures/log_domains.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
one:
item_id: <%= ActiveRecord::FixtureSet.identify(:shop) %>
item_type: Domain
event: update
object:
registrant_id: <%= ActiveRecord::FixtureSet.identify(:john) %>
updated_at: <%= Time.zone.parse('2010-07-05') %>
created_at: <%= Time.zone.parse('2010-07-05') %>

0 comments on commit 750b91b

Please sign in to comment.