Replace cucumber features by rails integration specs

This commit is contained in:
Thibault Jouan
2011-09-13 23:47:59 +00:00
parent 638d379ec6
commit 639293e4ca
26 changed files with 170 additions and 615 deletions

View File

@@ -0,0 +1,9 @@
module UserIntegrationHelpers
def sign_in
user = Factory.create(:user)
visit new_session_path
fill_in 'Email', :with => user.email
fill_in 'Password', :with => user.password
click_button('Sign in')
end
end