Sha256: f50cccc4dcb7d8856f1063b632167542ef4dd3d998a54b6780dff012bdfcafef
Contents?: true
Size: 734 Bytes
Versions: 8
Compression:
Stored size: 734 Bytes
Contents
require 'test/test_helper' class MapRoutingTest < ActionController::TestCase test 'map new user invitation' do assert_recognizes({:controller => 'invitations', :action => 'new'}, {:path => 'users/invitation/new', :method => :get}) end test 'map create user invitation' do assert_recognizes({:controller => 'invitations', :action => 'create'}, {:path => 'users/invitation', :method => :post}) end test 'map accept user invitation' do assert_recognizes({:controller => 'invitations', :action => 'edit'}, 'users/invitation/accept') end test 'map update user invitation' do assert_recognizes({:controller => 'invitations', :action => 'update'}, {:path => 'users/invitation', :method => :put}) end end
Version data entries
8 entries across 8 versions & 2 rubygems