add archived template and submission pages

This commit is contained in:
Alex Turchyn
2023-09-15 00:42:51 +03:00
parent 3faec9d174
commit 7f6c0af0e8
15 changed files with 190 additions and 66 deletions
-1
View File
@@ -51,7 +51,6 @@ RSpec.describe 'Template' do
end.to change { Template.active.count }.by(-1)
expect(page).to have_content('Template has been archived')
expect(page).to have_current_path(root_path, ignore_query: true)
end
it 'edits a template' do