Sha256: 95122f24c60e54fab422f61521d544f80bc0dbeff558dd3730438872079b65b5
Contents?: true
Size: 465 Bytes
Versions: 2
Compression:
Stored size: 465 Bytes
Contents
require "test_helper" class RegistrationsControllerTest < ActionDispatch::IntegrationTest test "should get new" do get sign_up_url assert_response :success end test "should sign up" do assert_difference("<%= class_name %>.count") do post sign_up_url, params: { <%= singular_table_name %>: { email: "lazaronixon@hey.com", password: "secret123", password_confirmation: "secret123" } } end assert_redirected_to sign_in_url end end
Version data entries
2 entries across 2 versions & 1 rubygems