update Webhooks UI

This commit is contained in:
Alex Turchyn authored and Pete Matsyburka committed 2024-11-09 00:41:46 +02:00
1 parent 4ea863592b
commit fd3530ac62
10 files changed
+315 -57

No files matched your search

+3 -1
View File
@@ -44,7 +44,9 @@ RSpec.describe 'Template' do
it 'archives a template' do
expect do
click_button 'Archive'
accept_confirm('Are you sure?') do
click_button 'Archive'
end
end.to change { Template.active.count }.by(-1)
expect(page).to have_content('Template has been archived')