Modified session steps to work with /public/index.html

This commit is contained in:
Manuel Schölling 2011-11-16 20:25:54 +01:00
parent 74582fe07d
commit 335a7b4ebe

View file

@ -7,6 +7,8 @@ When /^I try to sign in$/ do
@me ||= Factory(:user_with_aspect, :getting_started => false)
page.driver.visit(new_integration_sessions_path(:user_id => @me.id))
And %(I press "Login")
And %(I should see "Login") # we now are on index.html for Ilya.
And %(I follow "Login") # click "Login" to go to your stream
# To save time as compared to:
#When %(I go to the new user session page)
#When %(I fill in "Username" with "#{@me.username}")