test: replace "should_route" of "welcome" to "assert_routing" at integration/routing_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8203 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
a61d7d053f
commit
e499904e3a
@ -443,8 +443,11 @@ class RoutingTest < ActionController::IntegrationTest
|
||||
should_route :post, "/versions/1/status_by", :controller => 'versions', :action => 'status_by', :id => '1'
|
||||
end
|
||||
|
||||
context "welcome" do
|
||||
should_route :get, "/robots.txt", :controller => 'welcome', :action => 'robots'
|
||||
def test_welcome
|
||||
assert_routing(
|
||||
{ :method => 'get', :path => "/robots.txt" },
|
||||
{ :controller => 'welcome', :action => 'robots' }
|
||||
)
|
||||
end
|
||||
|
||||
context "wiki (singular, project's pages)" do
|
||||
|
Loading…
x
Reference in New Issue
Block a user