)
assert_routing(
{ :path => "/user/name/edits/feed", :method => :get },
- { :controller => "changeset", :action => "feed", :display_name => "name", :format => :atom }
+ { :controller => "changeset", :action => "feed", :display_name => "name" }
)
assert_routing(
{ :path => "/browse/friends", :method => :get },
)
assert_routing(
{ :path => "/browse/changesets/feed", :method => :get },
- { :controller => "changeset", :action => "feed", :format => :atom }
+ { :controller => "changeset", :action => "feed" }
)
assert_recognizes(
{ :controller => "changeset", :action => "list" },
{ :path => "/history", :method => :get }
)
assert_recognizes(
- { :controller => "changeset", :action => "feed", :format => :atom },
+ { :controller => "changeset", :action => "feed" },
{ :path => "/history/feed", :method => :get }
)
end
assert_routing(
{ :path => "/diary/rss", :method => :get },
- { :controller => "diary_entry", :action => "rss", :format => :rss }
+ { :controller => "diary_entry", :action => "rss" }
)
assert_routing(
{ :path => "/diary/language/rss", :method => :get },
- { :controller => "diary_entry", :action => "rss", :language => "language", :format => :rss }
+ { :controller => "diary_entry", :action => "rss", :language => "language" }
)
assert_routing(
{ :path => "/user/username/diary/rss", :method => :get },
- { :controller => "diary_entry", :action => "rss", :display_name => "username", :format => :rss }
+ { :controller => "diary_entry", :action => "rss", :display_name => "username" }
)
assert_routing(
assert_routing(
{ :path => "/traces/rss", :method => :get },
- { :controller => "trace", :action => "georss", :format => :rss }
+ { :controller => "trace", :action => "georss" }
)
assert_routing(
{ :path => "/traces/tag/tagname/rss", :method => :get },
- { :controller => "trace", :action => "georss", :tag => "tagname", :format => :rss }
+ { :controller => "trace", :action => "georss", :tag => "tagname" }
)
assert_routing(
{ :path => "/user/username/traces/rss", :method => :get },
- { :controller => "trace", :action => "georss", :display_name => "username", :format => :rss }
+ { :controller => "trace", :action => "georss", :display_name => "username" }
)
assert_routing(
{ :path => "/user/username/traces/tag/tagname/rss", :method => :get },
- { :controller => "trace", :action => "georss", :display_name => "username", :tag => "tagname", :format => :rss }
+ { :controller => "trace", :action => "georss", :display_name => "username", :tag => "tagname" }
)
assert_routing(