diff options
author | Eric Davis <edavis@littlestreamsoftware.com> | 2010-04-21 16:02:55 +0000 |
---|---|---|
committer | Eric Davis <edavis@littlestreamsoftware.com> | 2010-04-21 16:02:55 +0000 |
commit | 9b595c689d06ffc1386e242177358711bdbf5c3a (patch) | |
tree | 50b51d5cf708fe43aa2b3dce4d56ea871b3e1319 /test/functional/issue_relations_controller_test.rb | |
parent | 0fc884cf422356a2b57131daaa3340fd9da91b46 (diff) | |
download | redmine-9b595c689d06ffc1386e242177358711bdbf5c3a.tar.gz redmine-9b595c689d06ffc1386e242177358711bdbf5c3a.zip |
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
Diffstat (limited to 'test/functional/issue_relations_controller_test.rb')
-rw-r--r-- | test/functional/issue_relations_controller_test.rb | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/test/functional/issue_relations_controller_test.rb b/test/functional/issue_relations_controller_test.rb index e8834f1b7..870d893df 100644 --- a/test/functional/issue_relations_controller_test.rb +++ b/test/functional/issue_relations_controller_test.rb @@ -25,13 +25,6 @@ class IssueRelationsControllerTest < ActionController::TestCase User.current = nil end - def test_new_routing - assert_routing( - {:method => :post, :path => '/issues/1/relations'}, - {:controller => 'issue_relations', :action => 'new', :issue_id => '1'} - ) - end - def test_new assert_difference 'IssueRelation.count' do @request.session[:user_id] = 3 @@ -69,13 +62,6 @@ class IssueRelationsControllerTest < ActionController::TestCase end end - def test_destroy_routing - assert_recognizes( #TODO: use DELETE on issue URI - {:controller => 'issue_relations', :action => 'destroy', :issue_id => '1', :id => '23'}, - {:method => :post, :path => '/issues/1/relations/23/destroy'} - ) - end - def test_destroy assert_difference 'IssueRelation.count', -1 do @request.session[:user_id] = 3 |