spec/resque/failure/rollbar_spec.rb in resque-rollbar-0.0.2 vs spec/resque/failure/rollbar_spec.rb in resque-rollbar-0.0.3

- old
+ new

@@ -5,10 +5,10 @@ exception = StandardError.new('BOOM') worker = Resque::Worker.new(:test) queue = 'test' payload = { 'class' => Object, 'args' => 89 } - Rollbar.should_receive(:notify_exception).with(exception, payload) + Rollbar.should_receive(:report_exception).with(exception, payload) backend = Resque::Failure::Rollbar.new(exception, worker, queue, payload) backend.save end end