1
0
Fork 0
mirror of https://github.com/maybe-finance/maybe.git synced 2025-07-24 15:49:39 +02:00

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
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
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: {