Clean up sync logic (#871)

This commit is contained in:
Zach Gollwitzer
2024-06-13 17:03:38 -04:00
committed by GitHub
parent d0a15b8a98
commit 957584b69c
4 changed files with 8 additions and 27 deletions

View File

@@ -25,6 +25,11 @@ class AccountsControllerTest < ActionDispatch::IntegrationTest
assert_response :ok
end
test "can sync an account" do
post sync_account_path(@account)
assert_redirected_to account_url(@account)
end
test "should update account" do
patch account_url(@account), params: {
account: {