mirror of
https://github.com/docusealco/docuseal
synced 2026-11-08 23:42:32 -05:00
fix spec
This commit is contained in:
1 parent
504c42646b
commit
51743f1359
1 file changed
+1
-3
@@ -42,9 +42,7 @@ RSpec.describe 'Template' do
|
|||||||
|
|
||||||
it 'archives a template' do
|
it 'archives a template' do
|
||||||
expect do
|
expect do
|
||||||
accept_confirm('Are you sure?') do
|
click_button 'Archive'
|
||||||
click_button 'Archive'
|
|
||||||
end
|
|
||||||
end.to change { Template.active.count }.by(-1)
|
end.to change { Template.active.count }.by(-1)
|
||||||
|
|
||||||
expect(page).to have_content('Template has been archived')
|
expect(page).to have_content('Template has been archived')
|
||||||
|
|||||||
Reference in new issue
Block a user