Browse files

fixed typo `destory` => `destroy` [ci skip]

  • Loading branch information...
1 parent d4016f2 commit 4c450a514acdb7e6f7a33e12a02bcbd2e7358293 @kuldeepaggarwal kuldeepaggarwal committed Nov 28, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 actionpack/test/controller/resources_test.rb
View
2 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

0 comments on commit 4c450a5

Please sign in to comment.