Add test case to ensure clicking on the registration link takes you to the right page
This commit is contained in:
parent
12228510c3
commit
60444d3015
1 changed files with 11 additions and 0 deletions
11
test/system/user_signup_test.rb
Normal file
11
test/system/user_signup_test.rb
Normal file
|
@ -0,0 +1,11 @@
|
|||
require "application_system_test_case"
|
||||
|
||||
class UserSignupTest < ApplicationSystemTestCase
|
||||
test "Sign up from login page" do
|
||||
visit login_path
|
||||
|
||||
click_on "Register now"
|
||||
|
||||
assert page.has_content? "Confirm Password"
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue