Installed authentication-zero
This commit is contained in:
14
test/system/registrations_test.rb
Normal file
14
test/system/registrations_test.rb
Normal file
@@ -0,0 +1,14 @@
|
||||
require "application_system_test_case"
|
||||
|
||||
class RegistrationsTest < ApplicationSystemTestCase
|
||||
test "signing up" do
|
||||
visit sign_up_url
|
||||
|
||||
fill_in "Email", with: "lazaronixon@hey.com"
|
||||
fill_in "Password", with: "Secret6*4*2*"
|
||||
fill_in "Password confirmation", with: "Secret6*4*2*"
|
||||
click_on "Sign up"
|
||||
|
||||
assert_text "Welcome! You have signed up successfully"
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user