Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Added a test for Gzip

  • Loading branch information...
commit a855ab89b7aae7cb451611301a1e83495f647f8a 1 parent bd75a72
@dhh dhh authored
Showing with 7 additions and 0 deletions.
  1. +7 −0 activesupport/test/gzip_test.rb
View
7 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
Please sign in to comment.
Something went wrong with that request. Please try again.