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:
parent
d0a15b8a98
commit
957584b69c
4 changed files with 8 additions and 27 deletions
|
@ -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: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue