From 9ad7c43cd5782ac841a6f97ad2622a78d2674dc9 Mon Sep 17 00:00:00 2001 From: Thorsten Eckel Date: Tue, 28 Sep 2021 15:28:57 +0200 Subject: [PATCH] Maintenance: Pluralize admin navigation entry name for Core Workflows. --- app/assets/javascripts/app/controllers/core_workflow.coffee | 4 ++-- spec/system/system/core_workflow_spec.rb | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/assets/javascripts/app/controllers/core_workflow.coffee b/app/assets/javascripts/app/controllers/core_workflow.coffee index a537a9077..a39a2a61b 100644 --- a/app/assets/javascripts/app/controllers/core_workflow.coffee +++ b/app/assets/javascripts/app/controllers/core_workflow.coffee @@ -1,6 +1,6 @@ class CoreWorkflow extends App.ControllerSubContent requiredPermission: 'admin.core_workflow' - header: 'Core Workflow' + header: 'Core Workflows' constructor: -> super @@ -54,4 +54,4 @@ class CoreWorkflow extends App.ControllerSubContent } return mapping[screen] || screen -App.Config.set('CoreWorkflowObject', { prio: 1750, parent: '#system', name: 'Core Workflow', target: '#system/core_workflow', controller: CoreWorkflow, permission: ['admin.core_workflow'] }, 'NavBarAdmin') +App.Config.set('CoreWorkflowObject', { prio: 1750, parent: '#system', name: 'Core Workflows', target: '#system/core_workflow', controller: CoreWorkflow, permission: ['admin.core_workflow'] }, 'NavBarAdmin') diff --git a/spec/system/system/core_workflow_spec.rb b/spec/system/system/core_workflow_spec.rb index ccbf5f6c2..0530b0289 100644 --- a/spec/system/system/core_workflow_spec.rb +++ b/spec/system/system/core_workflow_spec.rb @@ -2,7 +2,7 @@ require 'rails_helper' -RSpec.describe 'System > Core Workflow', type: :system do +RSpec.describe 'System > Core Workflows', type: :system do before do ensure_websocket do visit 'system/core_workflow'