diff options
author | why <why@19e92222-5c0b-0410-8929-a290d50e31e9> | 2006-05-03 05:06:30 +0000 |
---|---|---|
committer | why <why@19e92222-5c0b-0410-8929-a290d50e31e9> | 2006-05-03 05:06:30 +0000 |
commit | d529c2b1f34c658842705d614722a91b23534ff5 (patch) | |
tree | 175f5ad6ca02a59004524f0afba4c9845af1316a /test | |
parent | aecf16ba7a5c549199b4855137165ccbf00e431b (diff) | |
download | unicorn-d529c2b1f34c658842705d614722a91b23534ff5.tar.gz |
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@162 19e92222-5c0b-0410-8929-a290d50e31e9
Diffstat (limited to 'test')
-rw-r--r-- | test/test_response.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_response.rb b/test/test_response.rb index 4659f32..8fb0832 100644 --- a/test/test_response.rb +++ b/test/test_response.rb @@ -62,7 +62,7 @@ class ResponseTest < Test::Unit::TestCase tmpf.close assert io.length > 0, "output didn't have data" - assert io.read =~ /#{contents}\Z/, "output doesn't end with file payload" + assert io.read[-contents.length..-1] == contents, "output doesn't end with file payload" end end |