Base progress

This commit is contained in:
2015-09-16 11:50:55 +02:00
parent ef894f9e02
commit 6a085b1ca2
52 changed files with 3686 additions and 1818 deletions
+5
View File
@@ -21,6 +21,11 @@ module Features
submit_form
end
def user_visit(path)
#visit File.join("http://localhost:3/")
visit File.join("/user#", path)
end
def login_employee_as(email)
visit "/employees/sign_in"
fill_in "employee_email", with: email