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-2.12.3 lib/generators/authentication/templates/test_unit/controllers/api/registrations_controller_test.rb.tt
authentication-zero-2.12.2 lib/generators/authentication/templates/test_unit/controllers/api/registrations_controller_test.rb.tt
authentication-zero-2.12.1 lib/generators/authentication/templates/test_unit/controllers/api/registrations_controller_test.rb.tt
authentication-zero-2.12.0 lib/generators/authentication/templates/test_unit/controllers/api/registrations_controller_test.rb.tt