Test account destroy route

This commit is contained in:
Anton Khorev 2025-02-17 02:20:24 +03:00
parent ab681e56ec
commit 9929c1b585

View file

@ -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