Methods
Instance Public methods
test_compress_should_decompress_to_the_same_value()
Link
test_compress_should_return_a_binary_string()
Link
# File activesupport/test/gzip_test.rb, line 9 def test_compress_should_return_a_binary_string compressed = ActiveSupport::Gzip.compress('') if "".encoding_aware? assert_equal Encoding.find('binary'), compressed.encoding end assert !compressed.blank?, "a compressed blank string should not be blank" end