spec/beaker/logger_spec.rb in beaker-3.36.0 vs spec/beaker/logger_spec.rb in beaker-3.37.0
- old
+ new
@@ -22,9 +22,13 @@
expect( logger.convert(invalid_utf8) ).to be === valid_utf8
else
pending "not supported in ruby 1.8 (using #{RUBY_VERSION})"
end
end
+ it 'supports frozen strings' do
+ valid_utf8.freeze
+ expect( logger.convert(valid_utf8) ).to be === valid_utf8
+ end
end
context '#generate_dated_log_folder' do
it 'generates path for a given timestamp' do