spec/logspot_spec.rb in logspot-0.2.0 vs spec/logspot_spec.rb in logspot-0.3.0
- old
+ new
@@ -9,6 +9,13 @@
it 'should output' do
logger.info('test')
expect(read.call).to include 'test'
end
end
+
+ describe '#value' do
+ it 'should output' do
+ logger.value(:info, test: 'test')
+ expect(read.call).to include 'test: test'
+ end
+ end
end