Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

assert => assert_equal #5170

Merged
merged 1 commit into from Feb 25, 2012
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 3 additions & 3 deletions actionpack/test/controller/integration_test.rb
Expand Up @@ -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

Expand Down