test/functional/log.rb in chalk-log-0.1.6 vs test/functional/log.rb in chalk-log-0.1.7

- old
+ new

@@ -117,17 +117,21 @@ describe 'extending a Log module into another' do describe 'the inclusions are straightline' do it 'make the extendee loggable' do module ExtendLogTestA include Chalk::Log + def say_hi + log.info('hello') + end end module ExtendLogTestB extend ExtendLogTestA end assert(ExtendLogTestB < Chalk::Log) assert(ExtendLogTestB.respond_to?(:log)) + assert(ExtendLogTestB.say_hi) end end end describe 'when a class is loggable' do