test/loggable_test.rb in semantic_logger-3.4.1 vs test/loggable_test.rb in semantic_logger-4.0.0.beta1
- old
+ new
@@ -40,10 +40,10 @@
assert_equal child_logger.object_id, Subclass.logger.object_id
end
it 'should give child objects their own logger' do
subclass = Subclass.new
- base = Base.new
+ base = Base.new
assert_equal subclass.class.name, subclass.logger.name
assert_equal base.class.name, base.logger.name
assert_equal subclass.class.name, subclass.logger.name
child_logger = subclass.logger
refute_equal child_logger, base.logger