Add test case to ensure clicking on the registration link takes you to the right page

This commit is contained in:
Andy Allan 2021-03-29 15:51:07 +01:00
parent 12228510c3
commit 60444d3015

View 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