diff --git a/test/integration/routing_test.rb b/test/integration/routing_test.rb index a62987039..a8fc2cdab 100644 --- a/test/integration/routing_test.rb +++ b/test/integration/routing_test.rb @@ -18,9 +18,15 @@ require File.expand_path('../../test_helper', __FILE__) class RoutingTest < ActionController::IntegrationTest - context "activities" do - should_route :get, "/activity", :controller => 'activities', :action => 'index', :id => nil - should_route :get, "/activity.atom", :controller => 'activities', :action => 'index', :id => nil, :format => 'atom' + def test_activities + assert_routing( + { :method => 'get', :path => "/activity" }, + { :controller => 'activities', :action => 'index', :id => nil } + ) + assert_routing( + { :method => 'get', :path => "/activity.atom" }, + { :controller => 'activities', :action => 'index', :id => nil, :format => 'atom' } + ) end context "attachments" do