Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
snmaynard committed Jun 22, 2018
1 parent 5e6377d commit 102ff82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/report_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 102ff82

Please sign in to comment.