Skip to content
This repository has been archived by the owner on Apr 16, 2023. It is now read-only.

Commit

Permalink
Fix tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
christiankakesa committed Dec 28, 2016
1 parent 5a8e0c8 commit 605d791
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions spec/log_tribe_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,11 @@ def post(_tag, map)
end

it 'set a specific @level' do
expect(logger.level).to eq(::Logger::DEBUG)
logger.level = ::Logger::INFO
expect(logger.level).to eq(::Logger::INFO)
logger.level = ::Logger::DEBUG
expect(logger.level).to eq(::Logger::DEBUG)
logger.loggers.each do |l|
expect(l.level).to eq(::Logger::INFO) if l.respond_to?(:level)
expect(l.level).to eq(::Logger::DEBUG) if l.respond_to?(:level)
end
end

Expand Down

0 comments on commit 605d791

Please sign in to comment.