removed account destroy

This commit is contained in:
2016-09-28 22:15:37 -05:00
parent 81c667da0f
commit 2a10a93ac9
4 changed files with 1 additions and 15 deletions

View File

@ -50,12 +50,4 @@ class AccountsControllerTest < ActionDispatch::IntegrationTest
assert_response :success
assert_match(/failed to update/i, flash[:error])
end
test "should destroy account" do
assert_difference('Account.count', -1) do
delete account_url(@account)
end
assert_redirected_to accounts_url
end
end