search for: session_steps

Displaying 1 result from an estimated 1 matches for "session_steps".

2013 Jun 24
0
wrong number of arguments calling `request` (0 for 1) (ArgumentError)
...and cucumber-rails-0.3.2 but if I upgrade with cucumber-rails-1.2.1 or cucumber-rails-1.3.1 - at this line request.session[:user_id].should == Person.find_by_username(user).id I am getting bellow error. Then amitpandya should be logged in # features/step_definitions/session_steps.rb:11 wrong number of arguments calling `request` (0 for 1) (ArgumentError) ./features/step_definitions/session_steps.rb:12:in `/^(.*)\ should\ be\ logged\ in$/'' features/login.feature:23:in `Then amitpandya should be logged in'' Any help How can I fix it? Thank you. With k...