aboutsummaryrefslogtreecommitdiffstats
path: root/spec/services
diff options
context:
space:
mode:
authorZog2018-03-09 17:25:38 +0100
committerZog2018-03-12 12:00:15 +0100
commit3a738f4509a67d5024fb85bb551c7ec285cd031e (patch)
tree3fd3f0cbfb133e07c66cd3795e81cdd74c648397 /spec/services
parent0cd50ea684248e13391ef4f5ee5af5550ff6491f (diff)
downloadchouette-core-3a738f4509a67d5024fb85bb551c7ec285cd031e.tar.bz2
Refs #6133; Fix specs
Diffstat (limited to 'spec/services')
-rw-r--r--spec/services/parent_notifier_spec.rb2
1 files changed, 2 insertions, 0 deletions
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])