Test account destroy route
This commit is contained in:
parent
ab681e56ec
commit
9929c1b585
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue