10 lines
248 B
Ruby
10 lines
248 B
Ruby
module SystemTestHelper
|
|
def signup(name, password: "password")
|
|
visit new_user_path
|
|
fill_in "Name", with: name
|
|
fill_in "Password", with: password
|
|
fill_in "Password confirmation", with: password
|
|
click_button "Sign up"
|
|
end
|
|
end
|