spec/logger_spec.rb in ougai-1.6.5 vs spec/logger_spec.rb in ougai-1.6.6
- old
+ new
@@ -27,10 +27,10 @@
matcher :include_error do |expected|
match do |actual|
err = actual[:err]
err[:message] == expected \
&& err[:name] = 'StandardError' \
- && err[:stack].include?('ougai/spec')
+ && err[:stack].include?('<main>')
end
end
let(:io) { StringIO.new }
let(:logger) { described_class.new(io) }