Sha256: 8cf7aecc30f0b902dfb755e2f23c2406674bcaf8d378142f832f2b00adb42a80

Contents?: true

Size: 469 Bytes

Versions: 12

Compression:

Stored size: 469 Bytes

Contents

require 'test_helper'

class Auth::RegistrationTest < ActionDispatch::IntegrationTest
  test 'registration screen can be rendered' do
    get register_path

    assert_response :success
  end

  test 'new users can register' do
    post register_path, params: {
      name: 'Test User',
      email: 'test@example.com',
      password: 'password',
      password_confirmation: 'password'
    }

    assert_authenticated
    assert_redirected_to dashboard_url
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
kaze-0.17.0 stubs/default/test/integration/auth/registration_test.rb
kaze-0.16.0 stubs/default/test/integration/auth/registration_test.rb
kaze-0.15.0 stubs/default/test/integration/auth/registration_test.rb
kaze-0.14.0 stubs/default/test/integration/auth/registration_test.rb
kaze-0.13.0 stubs/default/test/integration/auth/registration_test.rb
kaze-0.12.0 stubs/default/test/integration/auth/registration_test.rb
kaze-0.11.0 stubs/default/test/integration/auth/registration_test.rb
kaze-0.10.0 stubs/default/test/integration/auth/registration_test.rb
kaze-0.9.0 stubs/default/test/integration/auth/registration_test.rb
kaze-0.8.0 stubs/default/test/integration/auth/registration_test.rb
kaze-0.7.0 stubs/default/test/integration/auth/registration_test.rb
kaze-0.6.0 stubs/default/test/integration/auth/registration_test.rb