Sha256: 11f13eb4f7dc5c96bbab7493b4835aedf85aa396a997f1cec84b69d6bf999409

Contents?: true

Size: 436 Bytes

Versions: 8

Compression:

Stored size: 436 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: { email: "lazaronixon@hey.com", password: "Secret1*3*5*", password_confirmation: "Secret1*3*5*" }
    end

    assert_redirected_to root_url
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
authentication-zero-2.11.2 lib/generators/authentication/templates/test_unit/controllers/html/registrations_controller_test.rb.tt
authentication-zero-2.11.1 lib/generators/authentication/templates/test_unit/controllers/html/registrations_controller_test.rb.tt
authentication-zero-2.11.0 lib/generators/authentication/templates/test_unit/controllers/html/registrations_controller_test.rb.tt
authentication-zero-2.10.0 lib/generators/authentication/templates/test_unit/controllers/html/registrations_controller_test.rb.tt
authentication-zero-2.9.3 lib/generators/authentication/templates/test_unit/controllers/html/registrations_controller_test.rb.tt
authentication-zero-2.9.2 lib/generators/authentication/templates/test_unit/controllers/html/registrations_controller_test.rb.tt
authentication-zero-2.9.1 lib/generators/authentication/templates/test_unit/controllers/html/registrations_controller_test.rb.tt
authentication-zero-2.9.0 lib/generators/authentication/templates/test_unit/controllers/html/registrations_controller_test.rb.tt