Sha256: 209ddc80d686afe135fb60115601b77d00a516d21a360e9af8b59df252b662fc

Contents?: true

Size: 335 Bytes

Versions: 64

Compression:

Stored size: 335 Bytes

Contents

require "test_helper"

class RegistrationsControllerTest < ActionDispatch::IntegrationTest
  test "should sign up" do
    assert_difference("User.count") do
      post sign_up_url, params: { email: "lazaronixon@hey.com", password: "Secret1*3*5*", password_confirmation: "Secret1*3*5*" }
    end

    assert_response :created
  end
end

Version data entries

64 entries across 64 versions & 1 rubygems

Version Path
authentication-zero-4.0.3 lib/generators/authentication/templates/test_unit/controllers/api/registrations_controller_test.rb.tt
authentication-zero-4.0.2 lib/generators/authentication/templates/test_unit/controllers/api/registrations_controller_test.rb.tt
authentication-zero-4.0.1 lib/generators/authentication/templates/test_unit/controllers/api/registrations_controller_test.rb.tt
authentication-zero-4.0.0 lib/generators/authentication/templates/test_unit/controllers/api/registrations_controller_test.rb.tt
authentication-zero-3.0.2 lib/generators/authentication/templates/test_unit/controllers/api/registrations_controller_test.rb.tt
authentication-zero-3.0.1 lib/generators/authentication/templates/test_unit/controllers/api/registrations_controller_test.rb.tt
authentication-zero-3.0.0 lib/generators/authentication/templates/test_unit/controllers/api/registrations_controller_test.rb.tt
authentication-zero-3.0.0.alpha1 lib/generators/authentication/templates/test_unit/controllers/api/registrations_controller_test.rb.tt
authentication-zero-2.16.36 lib/generators/authentication/templates/test_unit/controllers/api/registrations_controller_test.rb.tt
authentication-zero-2.16.35 lib/generators/authentication/templates/test_unit/controllers/api/registrations_controller_test.rb.tt
authentication-zero-2.16.34 lib/generators/authentication/templates/test_unit/controllers/api/registrations_controller_test.rb.tt
authentication-zero-2.16.33 lib/generators/authentication/templates/test_unit/controllers/api/registrations_controller_test.rb.tt
authentication-zero-2.16.32 lib/generators/authentication/templates/test_unit/controllers/api/registrations_controller_test.rb.tt
authentication-zero-2.16.31 lib/generators/authentication/templates/test_unit/controllers/api/registrations_controller_test.rb.tt
authentication-zero-2.16.30 lib/generators/authentication/templates/test_unit/controllers/api/registrations_controller_test.rb.tt
authentication-zero-2.16.29 lib/generators/authentication/templates/test_unit/controllers/api/registrations_controller_test.rb.tt
authentication-zero-2.16.28 lib/generators/authentication/templates/test_unit/controllers/api/registrations_controller_test.rb.tt
authentication-zero-2.16.27 lib/generators/authentication/templates/test_unit/controllers/api/registrations_controller_test.rb.tt
authentication-zero-2.16.26 lib/generators/authentication/templates/test_unit/controllers/api/registrations_controller_test.rb.tt
authentication-zero-2.16.25 lib/generators/authentication/templates/test_unit/controllers/api/registrations_controller_test.rb.tt