1
0
Fork 0
mirror of https://github.com/maybe-finance/maybe.git synced 2025-07-19 05:09:38 +02:00
Maybe/test/interfaces/accountable_resource_interface_test.rb
Zach Gollwitzer 8c97c9d31a
Some checks are pending
Publish Docker image / ci (push) Waiting to run
Publish Docker image / Build docker image (push) Blocked by required conditions
Consolidate and simplify account pages (#2462)
* Remove ScrollFocusable

* Consolidate and simplify account pages

* Lint fixes

* Fix tab param initialization

* Remove stale files

* Remove stale route, make accountable routes clearer
2025-07-18 05:52:18 -04:00

17 lines
399 B
Ruby

require "test_helper"
module AccountableResourceInterfaceTest
extend ActiveSupport::Testing::Declarative
test "shows new form" do
Family.any_instance.stubs(:get_link_token).returns("test-link-token")
get new_polymorphic_url(@account.accountable)
assert_response :success
end
test "shows edit form" do
get edit_account_url(@account)
assert_response :success
end
end