lib/abstract_notifier/testing/rspec.rb in abstract_notifier-0.2.0 vs lib/abstract_notifier/testing/rspec.rb in abstract_notifier-0.3.0
- old
+ new
@@ -127,11 +127,11 @@
def verb_present
"send"
end
end
- class HaveEqueuedNotification < HaveSentNotification
+ class HaveEnqueuedNotification < HaveSentNotification
private
def deliveries
AbstractNotifier::Testing::Driver.enqueued_deliveries
end
@@ -151,9 +151,9 @@
def have_sent_notification(*args)
AbstractNotifier::HaveSentNotification.new(*args)
end
def have_enqueued_notification(*args)
- AbstractNotifier::HaveEqueuedNotification.new(*args)
+ AbstractNotifier::HaveEnqueuedNotification.new(*args)
end
end)
end