diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2008-06-02 17:42:10 -0500 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2008-06-02 17:42:10 -0500 |
commit | a855ab89b7aae7cb451611301a1e83495f647f8a (patch) | |
tree | c119a898e0835901d651e7cf24127a80b40aaea1 /activesupport | |
parent | bd75a722a2e9f979bfd1b1d89442e4dd6f3e3af7 (diff) | |
download | rails-a855ab89b7aae7cb451611301a1e83495f647f8a.tar.gz rails-a855ab89b7aae7cb451611301a1e83495f647f8a.tar.bz2 rails-a855ab89b7aae7cb451611301a1e83495f647f8a.zip |
Added a test for Gzip
Diffstat (limited to 'activesupport')
-rw-r--r-- | activesupport/test/gzip_test.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/activesupport/test/gzip_test.rb b/activesupport/test/gzip_test.rb new file mode 100644 index 0000000000..2a24c0bd0d --- /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 |