spec/logspot_spec.rb in logspot-0.5.0 vs spec/logspot_spec.rb in logspot-0.6.0
- old
+ new
@@ -63,13 +63,11 @@
describe '#raw' do
let(:tag_format) { 'a' }
it 'should output properly' do
logger.tagged('tag') do
- logger.raw do
- logger.info('test')
- end
+ logger.raw('test')
end
- expect(read.()).to eq "test\n"
+ expect(read.()).to eq "test"
end
end
end