update Webhooks UI

This commit is contained in:
Alex Turchyn
2024-11-08 20:14:43 +02:00
committed by Pete Matsyburka
parent 4ea863592b
commit fd3530ac62
10 changed files with 315 additions and 57 deletions
+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')