Displaying 1 result from an estimated 1 matches for "accountsignuptest".
Did you mean:
account_signup_test
2006 Jan 10
0
problem with cookies in tests (TDD)
...def logout
session[''user''] = nil
cookies.delete :login if cookies[:login]
cookies.delete :password if cookies[:password]
end
rake test failure (assert_nil cookies["password"][0] is what fails):
1) Failure:
test_should_pass_if_logout_destroys_cookie_data(AccountSignupTest)
[./test/functional/account/account_signup_test.rb:169]:
<nil> expected but was
<"5f4dcc3b5aa765d61d8327deb882cf99">.
---
Thanks in advance,
Benjamin Kuz
Bravenet Web Services
--
Posted via http://www.ruby-forum.com/.