spec/rollbar_spec.rb in rollbar-1.2.5 vs spec/rollbar_spec.rb in rollbar-1.2.6

- old
+ new

@@ -1413,11 +1413,11 @@ data[:project_package_paths].kind_of?(Array).should == true data[:project_package_paths].length.should == 1 end end - context "report_internal_error" do + context 'report_internal_error', :reconfigure_notifier => true do it "should not crash when given an exception object" do begin 1 / 0 rescue => e notifier.send(:report_internal_error, e) @@ -1520,20 +1520,8 @@ end end # configure with some basic params def configure - Rollbar.reconfigure do |config| - # special test access token - config.access_token = test_access_token - config.logger = ::Rails.logger - config.root = ::Rails.root - config.framework = "Rails: #{::Rails::VERSION::STRING}" - config.request_timeout = 60 - end + reconfigure_notifier end - - def test_access_token - 'aaaabbbbccccddddeeeeffff00001111' - end - end