Fix routing of changeset feed
This commit is contained in:
parent
038c341918
commit
5fc397935c
2 changed files with 6 additions and 6 deletions
|
@ -45,7 +45,7 @@ class ChangesetControllerTest < ActionController::TestCase
|
|||
)
|
||||
assert_routing(
|
||||
{ :path => "/user/name/edits/feed", :method => :get },
|
||||
{ :controller => "changeset", :action => "feed", :display_name => "name" }
|
||||
{ :controller => "changeset", :action => "feed", :display_name => "name", :format => :atom }
|
||||
)
|
||||
assert_routing(
|
||||
{ :path => "/browse/friends", :method => :get },
|
||||
|
@ -61,7 +61,7 @@ class ChangesetControllerTest < ActionController::TestCase
|
|||
)
|
||||
assert_routing(
|
||||
{ :path => "/browse/changesets/feed", :method => :get },
|
||||
{ :controller => "changeset", :action => "feed" }
|
||||
{ :controller => "changeset", :action => "feed", :format => :atom }
|
||||
)
|
||||
assert_recognizes(
|
||||
{ :controller => "changeset", :action => "list" },
|
||||
|
@ -72,7 +72,7 @@ class ChangesetControllerTest < ActionController::TestCase
|
|||
{ :path => "/history", :method => :get }
|
||||
)
|
||||
assert_recognizes(
|
||||
{ :controller => "changeset", :action => "feed" },
|
||||
{ :controller => "changeset", :action => "feed", :format => :atom },
|
||||
{ :path => "/history/feed", :method => :get }
|
||||
)
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue