tests: add autocomplete system tests.
This commit is contained in:
9
test/test_helpers/system_test_helper.rb
Normal file
9
test/test_helpers/system_test_helper.rb
Normal file
@@ -0,0 +1,9 @@
|
||||
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
|
||||
Reference in New Issue
Block a user