Permalink
Browse files

Added a test for Gzip

  • Loading branch information...
1 parent be794d8 commit 2af64890a13889c16afbe550c1ae00a69c9736bf @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 2af6489

Please sign in to comment.