diff options
| author | Xavier Noria <fxn@hashref.com> | 2012-02-24 17:17:06 -0800 |
|---|---|---|
| committer | Xavier Noria <fxn@hashref.com> | 2012-02-24 17:21:45 -0800 |
| commit | 84cd58f2acd18988520224e621135f2aa35bf384 (patch) | |
| tree | 3307f698867d7231e6c00e41bd5726c3c86b8433 | |
| parent | 9ef701d659bb4015e926994c166977b07dbfc2db (diff) | |
| download | rails-84cd58f2acd18988520224e621135f2aa35bf384.tar.gz rails-84cd58f2acd18988520224e621135f2aa35bf384.tar.bz2 rails-84cd58f2acd18988520224e621135f2aa35bf384.zip | |
fixes a test: rake routes now includes PATCH for resources
| -rw-r--r-- | railties/test/application/route_inspect_test.rb | 1 |
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 |
