Refactor: Move the rest of the routing tests to RoutingTest.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3687 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Eric Davis
2010-04-21 16:02:55 +00:00
parent 0fc884cf42
commit 9b595c689d
15 changed files with 167 additions and 702 deletions
@@ -33,13 +33,6 @@ class MembersControllerTest < ActionController::TestCase
@request.session[:user_id] = 2
end
def test_members_routing
assert_routing(
{:method => :post, :path => 'projects/5234/members/new'},
:controller => 'members', :action => 'new', :id => '5234'
)
end
def test_create
assert_difference 'Member.count' do
post :new, :id => 1, :member => {:role_ids => [1], :user_id => 7}