diff --git a/spec/report_spec.rb b/spec/report_spec.rb index 0b7db97c7..1a52551b2 100644 --- a/spec/report_spec.rb +++ b/spec/report_spec.rb @@ -119,7 +119,7 @@ def gloops end it "attaches added breadcrumbs" do - Bugsnag.leave_breadcrumb("Test", Bugsnag::Breadcrumbs::MANUAL_TYPE, {:foo => "foo", :bar => "bar"}) + Bugsnag.leave_breadcrumb("Test", {:foo => "foo", :bar => "bar"}, Bugsnag::Breadcrumbs::MANUAL_TYPE) Bugsnag.notify(BugsnagTestException.new("It crashed")) expect(Bugsnag).to have_sent_notification{ |payload, headers| breadcrumb = get_breadcrumb_from_payload(payload)