I wrote a test helper:
def login(user)
post ‘/members/login’, :email=>user.email, :password=>user.password
or
post ‘/members/base/login’, :email=>user.email,
:password=>user.password
end
Neither of these work. The test log shows weirdness for the action:
Parameters: {“action”=>"/members/base/login",
“controller”=>“members/base”, …
Or:
Parameters: {“action”=>"/members/login", “controller”=>“members/base”,
…
How can I get this to work?
Thanks,
Joe