From 2af64890a13889c16afbe550c1ae00a69c9736bf Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Mon, 2 Jun 2008 17:42:10 -0500 Subject: [PATCH] Added a test for Gzip --- activesupport/test/gzip_test.rb | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 activesupport/test/gzip_test.rb diff --git a/activesupport/test/gzip_test.rb b/activesupport/test/gzip_test.rb new file mode 100644 index 0000000000000..2a24c0bd0d046 --- /dev/null +++ b/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 \ No newline at end of file