From 40f04e2e3c28f5916549af970c6a67a39c3ee2e2 Mon Sep 17 00:00:00 2001 From: Artur Beljajev Date: Mon, 4 Mar 2019 15:26:25 +0200 Subject: [PATCH] Add fixtures --- test/fixtures/log_contacts.yml | 4 ++++ test/fixtures/log_domains.yml | 8 ++++++++ 2 files changed, 12 insertions(+) create mode 100644 test/fixtures/log_contacts.yml create mode 100644 test/fixtures/log_domains.yml diff --git a/test/fixtures/log_contacts.yml b/test/fixtures/log_contacts.yml new file mode 100644 index 0000000000..2e3abe017e --- /dev/null +++ b/test/fixtures/log_contacts.yml @@ -0,0 +1,4 @@ +one: + item_id: <%= ActiveRecord::FixtureSet.identify(:john) %> + item_type: Contact + event: update \ No newline at end of file diff --git a/test/fixtures/log_domains.yml b/test/fixtures/log_domains.yml new file mode 100644 index 0000000000..f328f902a6 --- /dev/null +++ b/test/fixtures/log_domains.yml @@ -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') %> \ No newline at end of file