diff options
author | Kuldeep Aggarwal <kd.engineer@yahoo.co.in> | 2013-11-28 02:12:47 +0530 |
---|---|---|
committer | Kuldeep Aggarwal <kd.engineer@yahoo.co.in> | 2013-11-28 02:12:47 +0530 |
commit | 4c450a514acdb7e6f7a33e12a02bcbd2e7358293 (patch) | |
tree | 6cea877e070f38b35a5fbdae7226a8e53b08804c | |
parent | d4016f24fb5266b361f44da66de445abfbb086e1 (diff) | |
download | rails-4c450a514acdb7e6f7a33e12a02bcbd2e7358293.tar.gz rails-4c450a514acdb7e6f7a33e12a02bcbd2e7358293.tar.bz2 rails-4c450a514acdb7e6f7a33e12a02bcbd2e7358293.zip |
fixed typo `destory` => `destroy` [ci skip]
-rw-r--r-- | actionpack/test/controller/resources_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/test/controller/resources_test.rb b/actionpack/test/controller/resources_test.rb index 9aea7e860a..528c59df91 100644 --- a/actionpack/test/controller/resources_test.rb +++ b/actionpack/test/controller/resources_test.rb @@ -1004,7 +1004,7 @@ class ResourcesTest < ActionController::TestCase end end - assert_resource_allowed_routes('images', { :product_id => '1' }, { :id => '2' }, [:index, :new, :create, :show, :edit, :update, :destory], [], 'products/1/images') + assert_resource_allowed_routes('images', { :product_id => '1' }, { :id => '2' }, [:index, :new, :create, :show, :edit, :update, :destroy], [], 'products/1/images') assert_resource_allowed_routes('images', { :product_id => '1', :format => 'xml' }, { :id => '2' }, [:index, :new, :create, :show, :edit, :update, :destroy], [], 'products/1/images') end end |