spec/spec_helper.rb in bugsnag-2.7.1 vs spec/spec_helper.rb in bugsnag-2.8.0

- old
+ new

@@ -43,10 +43,11 @@ def have_sent_notification(&matcher) have_requested(:post, "https://notify.bugsnag.com/").with do |request| if matcher matcher.call JSON.parse(request.body) - else true + else + raise "no matcher provided to have_sent_notification (did you use { })" end end end