Merge pull request #3257 from Platoniq/dashboard-actions-attachments

Dashboard actions attachments
This commit is contained in:
Raimond Garcia
2019-02-28 13:33:38 +01:00
committed by GitHub
6 changed files with 46 additions and 13 deletions

View File

@@ -7,6 +7,15 @@ feature 'Admin dashboard actions' do
login_as(admin.user)
end
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