diff --git a/features/step_definitions/login_steps.rb b/features/step_definitions/login_steps.rb index b6f52cfa..e3db63fd 100644 --- a/features/step_definitions/login_steps.rb +++ b/features/step_definitions/login_steps.rb @@ -4,9 +4,6 @@ Given /^I have logged in as "(.*)" with password "(.*)"$/ do |username, password fill_in "Password", :with => password click_button selenium.wait_for_page_to_load(5000) -# wait_for do -# selenium.is_visible("flash") -# end response.should contain(/Login successful/) @current_user = User.find_by_login(username) end