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:
Eric Davis
2010-02-08 17:53:52 +00:00
parent 3c20a9b0ac
commit 23c46c68ab
2 changed files with 26 additions and 12 deletions
@@ -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