mirror of
https://github.com/we-promise/sure.git
synced 2026-04-28 08:24:11 +00:00
Provider merchants enhancement (#1254)
* Add AI merchant enhancement and dedup * Enhancements Add error if job is already running add note that we also merge merchants * Allow updating provider website * Review fixes * Update provider_merchant.rb * Linter and fixes * FIX transaction quick menu modal
This commit is contained in:
@@ -36,4 +36,12 @@ class FamilyMerchantsControllerTest < ActionDispatch::IntegrationTest
|
||||
|
||||
assert_redirected_to family_merchants_path
|
||||
end
|
||||
|
||||
test "enhance enqueues job and redirects" do
|
||||
assert_enqueued_with(job: EnhanceProviderMerchantsJob) do
|
||||
post enhance_family_merchants_path
|
||||
end
|
||||
|
||||
assert_redirected_to family_merchants_path
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user