lib/abstract_notifier/testing.rb in abstract_notifier-0.3.0 vs lib/abstract_notifier/testing.rb in abstract_notifier-0.3.1
- old
+ new
@@ -43,6 +43,6 @@
end
end
AbstractNotifier::Notification.prepend AbstractNotifier::Testing::Notification
-require "abstract_notifier/testing/rspec" if defined?(RSpec)
+require "abstract_notifier/testing/rspec" if defined?(RSpec::Core)