1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activesupport/test/gzip_test.rb
David Heinemeier Hansson a855ab89b7 Added a test for Gzip
2008-06-02 17:42:10 -05:00

7 lines
No EOL
236 B
Ruby

require 'abstract_unit'
class GzipTest < Test::Unit::TestCase
def test_compress_should_decompress_to_the_same_value
assert_equal "Hello World", ActiveSupport::Gzip.decompress(ActiveSupport::Gzip.compress("Hello World"))
end
end