trying to fix the broken specs. still doesn't pass but it may be due to changes in capybara

This commit is contained in:
mccabe615
2015-11-22 14:55:54 -05:00
parent 1f4b7d53aa
commit 7e11dee133
3 changed files with 12 additions and 5 deletions
+3 -1
View File
@@ -40,7 +40,9 @@ def login(user)
fill_in 'email', :with => user.email
fill_in 'password', :with => user.clear_password
end
click_on 'Login'
within('.actions') do
click_on 'Login'
end
end
##Hack to fix PhantomJS errors on Mavericks - https://gist.github.com/ericboehs/7125105