aboutsummaryrefslogtreecommitdiffstats
path: root/railties
diff options
context:
space:
mode:
authorXavier Noria <fxn@hashref.com>2012-02-24 17:17:06 -0800
committerXavier Noria <fxn@hashref.com>2012-02-24 17:21:45 -0800
commit84cd58f2acd18988520224e621135f2aa35bf384 (patch)
tree3307f698867d7231e6c00e41bd5726c3c86b8433 /railties
parent9ef701d659bb4015e926994c166977b07dbfc2db (diff)
downloadrails-84cd58f2acd18988520224e621135f2aa35bf384.tar.gz
rails-84cd58f2acd18988520224e621135f2aa35bf384.tar.bz2
rails-84cd58f2acd18988520224e621135f2aa35bf384.zip
fixes a test: rake routes now includes PATCH for resources
Diffstat (limited to 'railties')
-rw-r--r--railties/test/application/route_inspect_test.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/railties/test/application/route_inspect_test.rb b/railties/test/application/route_inspect_test.rb
index 7c0a379112..6393cfff4b 100644
--- a/railties/test/application/route_inspect_test.rb
+++ b/railties/test/application/route_inspect_test.rb
@@ -67,6 +67,7 @@ module ApplicationTests
" new_article GET /articles/new(.:format) articles#new",
"edit_article GET /articles/:id/edit(.:format) articles#edit",
" article GET /articles/:id(.:format) articles#show",
+ " PATCH /articles/:id(.:format) articles#update",
" PUT /articles/:id(.:format) articles#update",
" DELETE /articles/:id(.:format) articles#destroy" ]
assert_equal expected, output