search for: accountcontrollertest

Displaying 2 results from an estimated 2 matches for "accountcontrollertest".

2006 Jul 02
5
"the number of parameters does not match the number of substitutions" error
All of a sudden, I''m getting this error: 1) Error: test_index(AccountControllerTest): RuntimeError: The number of parameters does not match the number of substitutions. /home/joe/projects/tanga/trunk/config/../vendor/rails/actionpack/lib/action_controller/assertions.rb:92:in `assert_redirected_to'' /home/joe/projects/tanga/trunk/config/../vendor/rails/actionpack/li...
2006 May 07
0
NoMethodError trying to get ApplicationHelper method from a functional test
...ts ApplicationHelper.send(method) end end ... Will find the method but then when it is called, it will still complain yeilding: Loaded suite test/functional/account_controller_test Started ..calling current_project E Finished in 0.172 seconds. 1) Error: test_should_login_and_redirect(AccountControllerTest): NoMethodError: undefined method `current_project'' for ApplicationHelper:Module test/functional/account_controller_test.rb:31:in `send'' test/functional/account_controller_test.rb:31:in `test_should_login_and_redirect'' test/functional/account_controller_test.r...