mirror of
https://github.com/docusealco/docuseal
synced 2026-11-06 06:52:33 -05:00
fix spec
This commit is contained in:
1 parent
e27606f443
commit
2822b0086a
1 file changed
+2
-2
@@ -42,10 +42,10 @@ RSpec.describe 'Template' do
|
||||
visit template_path(template)
|
||||
end
|
||||
|
||||
it 'removes a template' do
|
||||
it 'archives a template' do
|
||||
expect do
|
||||
accept_confirm('Are you sure?') do
|
||||
click_button 'Remove'
|
||||
click_button 'Archive'
|
||||
end
|
||||
end.to change { Template.active.count }.by(-1)
|
||||
|
||||
|
||||
Reference in new issue
Block a user