Sha256: 5927a0f3dfc0a38ad496d925d4b3394473f6a681f74161cab2cc7e703cab8871

Contents?: true

Size: 348 Bytes

Versions: 12

Compression:

Stored size: 348 Bytes

Contents

require "test_helper"

class RegistrationsControllerTest < ActionDispatch::IntegrationTest
  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_response :created
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
authentication-zero-2.11.2 lib/generators/authentication/templates/test_unit/controllers/api/registrations_controller_test.rb.tt
authentication-zero-2.11.1 lib/generators/authentication/templates/test_unit/controllers/api/registrations_controller_test.rb.tt
authentication-zero-2.11.0 lib/generators/authentication/templates/test_unit/controllers/api/registrations_controller_test.rb.tt
authentication-zero-2.10.0 lib/generators/authentication/templates/test_unit/controllers/api/registrations_controller_test.rb.tt
authentication-zero-2.9.3 lib/generators/authentication/templates/test_unit/controllers/api/registrations_controller_test.rb.tt
authentication-zero-2.9.2 lib/generators/authentication/templates/test_unit/controllers/api/registrations_controller_test.rb.tt
authentication-zero-2.9.1 lib/generators/authentication/templates/test_unit/controllers/api/registrations_controller_test.rb.tt
authentication-zero-2.9.0 lib/generators/authentication/templates/test_unit/controllers/api/registrations_controller_test.rb.tt
authentication-zero-2.8.4 lib/generators/authentication/templates/test_unit/controllers/api/registrations_controller_test.rb.tt
authentication-zero-2.8.3 lib/generators/authentication/templates/test_unit/controllers/api/registrations_controller_test.rb.tt
authentication-zero-2.8.2 lib/generators/authentication/templates/test_unit/controllers/api/registrations_controller_test.rb.tt
authentication-zero-2.8.1 lib/generators/authentication/templates/test_unit/controllers/api/registrations_controller_test.rb.tt