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