From 4c450a514acdb7e6f7a33e12a02bcbd2e7358293 Mon Sep 17 00:00:00 2001 From: Kuldeep Aggarwal Date: Thu, 28 Nov 2013 02:12:47 +0530 Subject: [PATCH] fixed typo `destory` => `destroy` [ci skip] --- actionpack/test/controller/resources_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 @@ def test_nested_resource_does_not_inherit_only_option_by_default 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 -- GitLab