Merge pull request #5989 from consuldemocracy/nested-documentable-specs

Make nested documentable specs faster
This commit is contained in:
Sebastia
2025-06-10 09:30:18 +02:00
committed by GitHub
16 changed files with 447 additions and 681 deletions

View File

@@ -1,15 +1,6 @@
require "rails_helper"
describe "Admin dashboard actions", :admin do
it_behaves_like "nested documentable",
"administrator",
"dashboard_action",
"new_admin_dashboard_action_path",
{},
"documentable_fill_new_valid_dashboard_action",
"Save",
"Action created successfully"
context "when visiting index" do
context "and no actions defined" do
before do