Permalink
Browse files

Added a test for Gzip

  • Loading branch information...
1 parent bd75a72 commit a855ab89b7aae7cb451611301a1e83495f647f8a @dhh dhh committed Jun 2, 2008
Showing with 7 additions and 0 deletions.
  1. +7 −0 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 a855ab8

Please sign in to comment.