Sha256: 010451a45ff442ec34501abda26e9fd224f357a3392991a779ceaa7ba7e7d0d7

Contents?: true

Size: 725 Bytes

Versions: 11

Compression:

Stored size: 725 Bytes

Contents

require 'test_helper'

class RoutesTest < ActionController::TestCase

  test 'map new user invitation' do
    assert_recognizes({ controller: 'devise/invitations', action: 'new' }, { path: 'users/invitation/new', method: :get })
  end

  test 'map create user invitation' do
    assert_recognizes({ controller: 'devise/invitations', action: 'create' }, { path: 'users/invitation', method: :post })
  end

  test 'map accept user invitation' do
    assert_recognizes({ controller: 'devise/invitations', action: 'edit' }, 'users/invitation/accept')
  end

  test 'map update user invitation' do
    assert_recognizes({ controller: 'devise/invitations', action: 'update' }, { path: 'users/invitation', method: :put })
  end
end

Version data entries

11 entries across 11 versions & 2 rubygems

Version Path
blacklight-spotlight-3.6.0.beta8 vendor/bundle/ruby/3.2.0/gems/devise_invitable-2.0.9/test/routes_test.rb
devise_invitable-2.0.9 test/routes_test.rb
devise_invitable-2.0.8 test/routes_test.rb
devise_invitable-2.0.7 test/routes_test.rb
devise_invitable-2.0.6 test/routes_test.rb
devise_invitable-2.0.5 test/routes_test.rb
devise_invitable-2.0.4 test/routes_test.rb
devise_invitable-2.0.3 test/routes_test.rb
devise_invitable-2.0.2 test/routes_test.rb
devise_invitable-2.0.1 test/routes_test.rb
devise_invitable-2.0.0 test/routes_test.rb