From 3a738f4509a67d5024fb85bb551c7ec285cd031e Mon Sep 17 00:00:00 2001 From: Zog Date: Fri, 9 Mar 2018 17:25:38 +0100 Subject: Refs #6133; Fix specs --- spec/services/parent_notifier_spec.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'spec/services') diff --git a/spec/services/parent_notifier_spec.rb b/spec/services/parent_notifier_spec.rb index d4ca73ab3..d2dc6b184 100644 --- a/spec/services/parent_notifier_spec.rb +++ b/spec/services/parent_notifier_spec.rb @@ -46,6 +46,8 @@ RSpec.describe ParentNotifier do notified_parent_at: nil ) + Import::Base.where(id: netex_import).update_all notified_parent_at: nil + expect( ParentNotifier.new(Import::Base).objects_pending_notification ).to eq([netex_import]) -- cgit v1.2.3