Browse files

assert => assert_equal

  • Loading branch information...
1 parent 0bfcd4f commit a9b1397f5f0d849fc043736772568378fcbc3d0a @arunagw arunagw committed Feb 25, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 actionpack/test/controller/integration_test.rb
View
6 actionpack/test/controller/integration_test.rb
@@ -299,9 +299,9 @@ def test_post
_headers = headers["Set-Cookie"].split("\n")
assert _headers.include?("cookie_1=; path=/")
assert _headers.include?("cookie_3=chocolate; path=/")
- assert cookies.to_hash["cookie_1"], ""
- assert cookies.to_hash["cookie_2"], "oatmeal"
- assert cookies.to_hash["cookie_3"], "chocolate"
+ assert_equal cookies.to_hash["cookie_1"], ""
+ assert_equal cookies.to_hash["cookie_2"], "oatmeal"
+ assert_equal cookies.to_hash["cookie_3"], "chocolate"
end
end

0 comments on commit a9b1397

Please sign in to comment.