Displaying 1 result from an estimated 1 matches for "accountscontrollertest".
Did you mean:
accountcontrollertest
2010 Apr 05
1
`test': wrong number of arguments (1 for 2) (ArgumentError)
...e below. Im getting the error in the
subject line if I try to run the test as a ruby script from the
console.
require File.dirname(__FILE__) + ''/../test_helper''
require ''accounts_controller''
class AccountsController; def rescue_action(e) raise e end; end
class AccountsControllerTest < ActionController::TestCase
fixtures :accounts
def setup
@controller = AccountsController.new
@request = ActionController::TestRequest.new
@response = ActionController::TestResponse.new
end
test "should allow signup" do
assert_difference ''Accou...