spec/crash_log_spec.rb in crashlog-1.0.3 vs spec/crash_log_spec.rb in crashlog-1.0.4
- old
+ new
@@ -91,9 +91,11 @@
end
end
describe '.ready' do
it 'logs an ready message' do
+ CrashLog.configuration.colorize = false
+
CrashLog::Reporter.any_instance.stub(:announce).and_return("Test Application")
logger = stub('Logger')
logger.should_receive(:info).
with("** [CrashLog] Configured correctly and ready to handle exceptions for 'Test Application'")