spec/logger_spec.rb in stackster-0.2.7 vs spec/logger_spec.rb in stackster-0.2.8

- old
+ new

@@ -11,9 +11,12 @@ it "should create a new logger object when one is not passed" do logger_mock = mock 'logger' Logger.should_receive(:new).with(STDOUT).and_return logger_mock logger_mock.should_receive(:info).with 'a message' + logger_mock.should_receive(:datetime_format=).with '%Y-%m-%dT%H:%M:%S%z' + logger_mock.should_receive(:formatter=) + logger_mock.should_receive(:level=).with 1 logger = Stackster::StacksterLogger.new logger.info 'a message' end end