Sha256: 82b905448465177af5a1ed832f55a46752f2daa2ae11e5782eb2a7d3d5196a3f
Contents?: true
Size: 512 Bytes
Versions: 6
Compression:
Stored size: 512 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 root_url follow_redirect! assert_response :success end end
Version data entries
6 entries across 6 versions & 1 rubygems