Skip to content

Commit

Permalink
Added a test for Gzip
Browse files Browse the repository at this point in the history
  • Loading branch information
dhh committed Jun 2, 2008
1 parent be794d8 commit 2af6489
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions activesupport/test/gzip_test.rb
@@ -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

0 comments on commit 2af6489

Please sign in to comment.