search for: login_with

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

Did you mean: login_path
2008 Jan 16
1
session data and user stories
...aler_login) do Given("I have opened a session") do @session = open_session end Given("I am not logged in") do @session.instance_variable_get("@session").should == nil end Given("I have a valid login/password combo") do @login_with = valid_dealer_credentials end When("I submit my login/ password") do @session.post("/gateway", :user=> @login_with) end #there has to be a better way to address this Then("I should be authenticated") do @session.response.session.data.s...