Permalink
Browse files

assert => assert_equal

  • Loading branch information...
1 parent 30a528a commit 6e49b3d00609200c5810736ebd3dc59aa077bc61 @arunagw arunagw committed Feb 25, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 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 6e49b3d

Please sign in to comment.