Commit 99ae3498664f25fe02114e0a2e6fe478bdc8e010

Authored by Julio Monteiro
1 parent 8cd0c6cd
Exists in master and in 1 other branch production

Updating comment with right method and URL

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
spec/controllers/notices_controller_spec.rb
... ... @@ -21,7 +21,7 @@ describe NoticesController do
21 21 request.should_receive(:raw_post).and_return(@xml)
22 22 post :create
23 23 response.should be_success
24   - # Same RegExp from Airbrake::UserInformer#replacement (https://github.com/airbrake/airbrake/blob/master/lib/airbrake/user_informer.rb#L8)
  24 + # Same RegExp from Airbrake::Sender#send_to_airbrake (https://github.com/airbrake/airbrake/blob/master/lib/airbrake/sender.rb#L53)
25 25 # Inspired by https://github.com/airbrake/airbrake/blob/master/test/sender_test.rb
26 26 response.body.should match(%r{<id[^>]*>#{@notice.id}</id>})
27 27 end
... ...