From: Anton Khorev Date: Sun, 16 Feb 2025 23:20:24 +0000 (+0300) Subject: Test account destroy route X-Git-Tag: live~108^2~1 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/9929c1b585bd0e0b088cc785af06720d46f2dcce?ds=inline;hp=--cc Test account destroy route --- 9929c1b585bd0e0b088cc785af06720d46f2dcce diff --git a/test/controllers/accounts_controller_test.rb b/test/controllers/accounts_controller_test.rb index d1ed14e50..f13574213 100644 --- a/test/controllers/accounts_controller_test.rb +++ b/test/controllers/accounts_controller_test.rb @@ -12,6 +12,10 @@ class AccountsControllerTest < ActionDispatch::IntegrationTest { :path => "/account", :method => :put }, { :controller => "accounts", :action => "update" } ) + assert_routing( + { :path => "/account", :method => :delete }, + { :controller => "accounts", :action => "destroy" } + ) end def test_account