Add sync status and errors to account settings page (#1169)

This commit is contained in:
Zach Gollwitzer
2024-09-11 17:24:01 -04:00
committed by GitHub
parent 86741401c3
commit b9341ac302
13 changed files with 124 additions and 38 deletions

View File

@@ -52,4 +52,11 @@ class InstitutionsControllerTest < ActionDispatch::IntegrationTest
assert_redirected_to accounts_url
assert_equal "Institution deleted", flash[:notice]
end
test "can sync institution" do
post sync_institution_url(@institution)
assert_redirected_to accounts_url
assert_equal "Institution sync started", flash[:notice]
end
end