Fix missing sync_all_button partial (#1172)

* Fix missing sync_all_button partial

* Add missing translation

* Bring back partial

* Unify button text translation

* Add test
This commit is contained in:
Tony Vincent
2024-09-13 17:19:20 +02:00
committed by GitHub
parent b9341ac302
commit 277e4476d9
5 changed files with 15 additions and 7 deletions

View File

@@ -58,6 +58,13 @@ class AccountsTest < ApplicationSystemTestCase
assert_account_created("OtherLiability")
end
test "can sync all acounts on accounts page and account summary page" do
visit accounts_url
assert_button "Sync all"
visit summary_accounts_url
assert_button "Sync all"
end
private
def open_new_account_modal