Moved a routing test from a functional to an integration test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3395 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -32,18 +32,6 @@ class ReportsControllerTest < ActionController::TestCase
|
||||
User.current = nil
|
||||
end
|
||||
|
||||
def test_issue_report_routing
|
||||
assert_routing(
|
||||
{:method => :get, :path => '/projects/567/issues/report'},
|
||||
:controller => 'reports', :action => 'issue_report', :id => '567'
|
||||
)
|
||||
assert_routing(
|
||||
{:method => :get, :path => '/projects/567/issues/report/assigned_to'},
|
||||
:controller => 'reports', :action => 'issue_report', :id => '567', :detail => 'assigned_to'
|
||||
)
|
||||
|
||||
end
|
||||
|
||||
context "GET :issue_report without details" do
|
||||
setup do
|
||||
get :issue_report, :id => 1
|
||||
|
||||
Reference in New Issue
Block a user