Implement Env#log_logger_level

This commit is contained in:
Thibault Jouan
2015-04-09 10:50:13 +00:00
parent 0d0eac111c
commit 404b34acc0
2 changed files with 13 additions and 0 deletions

View File

@@ -40,6 +40,13 @@ module Uh
end
end
describe '#log_logger_level' do
it 'logs the logger level' do
expect(logger).to receive(:info).with /log.+(warn|info|debug).+level/i
env.log_logger_level
end
end
describe '#print' do
it 'prints the message to the output' do
env.print 'some message'