mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Added a test for Gzip
This commit is contained in:
parent
bd75a722a2
commit
a855ab89b7
1 changed files with 7 additions and 0 deletions
7
activesupport/test/gzip_test.rb
Normal file
7
activesupport/test/gzip_test.rb
Normal file
|
@ -0,0 +1,7 @@
|
|||
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
|
Loading…
Reference in a new issue