Remove white_label reflex and handle remove enterprise logo wth turbo stream

This commit is contained in:
wandji20
2024-10-19 22:40:00 +01:00
parent 88e5aea11a
commit 908c54f78c
5 changed files with 36 additions and 26 deletions

View File

@@ -685,7 +685,7 @@ RSpec.describe '
expect(distributor1.white_label_logo).to be_attached
click_button "Remove"
within ".reveal-modal" do
click_button "Confirm"
click_link "Confirm"
end
expect(flash_message).to match(/Logo removed/)
distributor1.reload