From 335a7b4ebe303f91d84a04e98cd6201dc8e46a9b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20Sch=C3=B6lling?= Date: Wed, 16 Nov 2011 20:25:54 +0100 Subject: [PATCH] Modified session steps to work with /public/index.html --- features/step_definitions/session_steps.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/features/step_definitions/session_steps.rb b/features/step_definitions/session_steps.rb index 9d0e9dbe8..593730eb2 100644 --- a/features/step_definitions/session_steps.rb +++ b/features/step_definitions/session_steps.rb @@ -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}")