1
0
Fork 0
mirror of https://github.com/maybe-finance/maybe.git synced 2025-07-19 05:09:38 +02:00

Fix EU plaid flow (#1761)

* Fix EU plaid flow

* Fix failing tests
This commit is contained in:
Zach Gollwitzer 2025-01-31 17:04:26 -05:00 committed by GitHub
parent 4bf72506d5
commit 53f4b32c33
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
19 changed files with 91 additions and 86 deletions

View file

@ -4,9 +4,7 @@ module AccountableResourceInterfaceTest
extend ActiveSupport::Testing::Declarative
test "shows new form" do
Plaid::PlaidApi.any_instance.stubs(:link_token_create).returns(
Plaid::LinkTokenCreateResponse.new(link_token: "test-link-token")
)
Family.any_instance.stubs(:get_link_token).returns("test-link-token")
get new_polymorphic_url(@account.accountable)
assert_response :success