OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
Include Capybara::RSpecMatchers where DSL is included
Christophe Bliarde3f4a6b58285
diff --git a/modules/bim/spec/support/components/xeokit_model_tree.rb b/modules/bim/spec/support/components/xeokit_model_tree.rbindex 831aa92448c..b6fc5cbeba1 100644--- a/modules/bim/spec/support/components/xeokit_model_tree.rb+++ b/modules/bim/spec/support/components/xeokit_model_tree.rb@@ -29,10 +29,9 @@module Componentsclass XeokitModelTreeinclude Capybara::DSL+ include Capybara::RSpecMatchersinclude RSpec::Matchers- def initialize; end-def sidebar_shows_viewer_menu(visible)selector = '.xeokit-tab'tabs = ['Models', 'Objects', 'Classes', 'Storeys']diff --git a/modules/reporting/spec/features/support/components/cost_reports_base_table.rb b/modules/reporting/spec/features/support/components/cost_reports_base_table.rbindex de2ec5c9698..946ed94f112 100644--- a/modules/reporting/spec/features/support/components/cost_reports_base_table.rb+++ b/modules/reporting/spec/features/support/components/cost_reports_base_table.rb@@ -29,6 +29,7 @@module Componentsclass CostReportsBaseTableinclude Capybara::DSL+ include Capybara::RSpecMatchersinclude RSpec::Matchersattr_reader :time_logging_modaldiff --git a/modules/storages/spec/support/components/file_picker_dialog.rb b/modules/storages/spec/support/components/file_picker_dialog.rbindex 2445d4081ba..525cfa0b006 100644--- a/modules/storages/spec/support/components/file_picker_dialog.rb+++ b/modules/storages/spec/support/components/file_picker_dialog.rb@@ -29,6 +29,7 @@module Componentsclass FilePickerDialoginclude Capybara::DSL+ include Capybara::RSpecMatchersinclude RSpec::Matchersdef containerdiff --git a/modules/team_planner/spec/support/components/add_existing_pane.rb b/modules/team_planner/spec/support/components/add_existing_pane.rbindex bec9e3240ad..ef3f87460fc 100644--- a/modules/team_planner/spec/support/components/add_existing_pane.rb+++ b/modules/team_planner/spec/support/components/add_existing_pane.rb@@ -29,10 +29,9 @@module Componentsclass AddExistingPaneinclude Capybara::DSL+ include Capybara::RSpecMatchersinclude RSpec::Matchers- def initialize; end-def selector"[data-qa-selector='add-existing-pane']"enddiff --git a/spec/features/categories/categories_page.rb b/spec/features/categories/categories_page.rbindex e960abb4cf2..48cd78bc932 100644--- a/spec/features/categories/categories_page.rb+++ b/spec/features/categories/categories_page.rb@@ -29,6 +29,7 @@class CategoriesPageinclude Rails.application.routes.url_helpersinclude Capybara::DSL+ include Capybara::RSpecMatchersdef initialize(project = nil)@project = projectdiff --git a/spec/features/custom_fields/custom_fields_page.rb b/spec/features/custom_fields/custom_fields_page.rbindex 18f68d0172e..8a1b205c331 100644--- a/spec/features/custom_fields/custom_fields_page.rb+++ b/spec/features/custom_fields/custom_fields_page.rb@@ -29,6 +29,7 @@class CustomFieldsPageinclude Rails.application.routes.url_helpersinclude Capybara::DSL+ include Capybara::RSpecMatchersdef visit_new(type = 'WorkPackageCustomField')visit new_custom_field_path type:diff --git a/spec/features/repositories/repository_settings_page.rb b/spec/features/repositories/repository_settings_page.rbindex 07283079527..5d2ce3d95fc 100644--- a/spec/features/repositories/repository_settings_page.rb+++ b/spec/features/repositories/repository_settings_page.rb@@ -29,6 +29,7 @@class RepositorySettingsPageinclude Rails.application.routes.url_helpersinclude Capybara::DSL+ include Capybara::RSpecMatchersdef initialize(project)@project = projectdiff --git a/spec/features/support/components/attribute_help_text_modal.rb b/spec/features/support/components/attribute_help_text_modal.rbindex 3123ff1da22..a6e9fd3ec2e 100644--- a/spec/features/support/components/attribute_help_text_modal.rb+++ b/spec/features/support/components/attribute_help_text_modal.rb@@ -29,6 +29,7 @@module Componentsclass AttributeHelpTextModalinclude Capybara::DSL+ include Capybara::RSpecMatchersinclude RSpec::Matchersattr_reader :help_text, :contextdiff --git a/spec/features/support/components/danger_zone.rb b/spec/features/support/components/danger_zone.rbindex 2328800ef3b..2a351352a65 100644--- a/spec/features/support/components/danger_zone.rb+++ b/spec/features/support/components/danger_zone.rb@@ -28,6 +28,7 @@class DangerZoneinclude Capybara::DSL+ include Capybara::RSpecMatchersattr_reader :pagediff --git a/spec/features/support/components/time_logging_modal.rb b/spec/features/support/components/time_logging_modal.rbindex e1f9a05c704..7fa00b5a888 100644--- a/spec/features/support/components/time_logging_modal.rb+++ b/spec/features/support/components/time_logging_modal.rb@@ -29,6 +29,7 @@module Componentsclass TimeLoggingModalinclude Capybara::DSL+ include Capybara::RSpecMatchersinclude RSpec::Matchersattr_reader :activity_field,diff --git a/spec/features/work_packages/work_packages_page.rb b/spec/features/work_packages/work_packages_page.rbindex 4bc5c91592b..c5443b69803 100644--- a/spec/features/work_packages/work_packages_page.rb+++ b/spec/features/work_packages/work_packages_page.rb@@ -29,6 +29,7 @@class WorkPackagesPageinclude Rails.application.routes.url_helpersinclude Capybara::DSL+ include Capybara::RSpecMatchersinclude RSpec::Matchersdef initialize(project = nil)diff --git a/spec/support/components/admin/type_configuration_form.rb b/spec/support/components/admin/type_configuration_form.rbindex f235561a996..4e519dee86a 100644--- a/spec/support/components/admin/type_configuration_form.rb+++ b/spec/support/components/admin/type_configuration_form.rb@@ -30,10 +30,9 @@ module Componentsmodule Adminclass TypeConfigurationForminclude Capybara::DSL+ include Capybara::RSpecMatchersinclude RSpec::Matchers- def initialize; end-def add_button_dropdownpage.find '.form-configuration--add-group', text: 'Group'enddiff --git a/spec/support/components/attachments/attachments.rb b/spec/support/components/attachments/attachments.rbindex 0a7e014cd75..48c5a1670f1 100644--- a/spec/support/components/attachments/attachments.rb+++ b/spec/support/components/attachments/attachments.rb@@ -3,8 +3,7 @@module Componentsclass Attachmentsinclude Capybara::DSL-- def initialize; end+ include Capybara::RSpecMatchers### Drag and Drop the file loaded from path on to the (native) target elementdiff --git a/spec/support/components/common/modal.rb b/spec/support/components/common/modal.rbindex a56c24a853a..36e582e9976 100644--- a/spec/support/components/common/modal.rb+++ b/spec/support/components/common/modal.rb@@ -30,10 +30,9 @@ module Componentsmodule Commonclass Modalinclude Capybara::DSL+ include Capybara::RSpecMatchersinclude RSpec::Matchers- def initialize; end-def expect_title(text)within_modal doexpect(page).to have_selector('.spot-modal--header', text:)diff --git a/spec/support/components/common/sidemenu.rb b/spec/support/components/common/sidemenu.rbindex 41cf54608cf..6361818c19d 100644--- a/spec/support/components/common/sidemenu.rb+++ b/spec/support/components/common/sidemenu.rb@@ -30,10 +30,9 @@ module Componentsmodule Notificationsclass Sidemenuinclude Capybara::DSL+ include Capybara::RSpecMatchersinclude RSpec::Matchers- def initialize; end-def expect_openexpect(page).to have_selector('[data-qa-selector="op-sidemenu"]')enddiff --git a/spec/support/components/confirmation_dialog.rb b/spec/support/components/confirmation_dialog.rbindex 4059b394767..967106ed171 100644--- a/spec/support/components/confirmation_dialog.rb+++ b/spec/support/components/confirmation_dialog.rb@@ -29,6 +29,7 @@module Componentsclass ConfirmationDialoginclude Capybara::DSL+ include Capybara::RSpecMatchersinclude RSpec::Matchersdef containerdiff --git a/spec/support/components/datepicker/datepicker.rb b/spec/support/components/datepicker/datepicker.rbindex 35f83277b16..377aeda5ab7 100644--- a/spec/support/components/datepicker/datepicker.rb+++ b/spec/support/components/datepicker/datepicker.rb@@ -1,6 +1,7 @@module Componentsclass Datepickerinclude Capybara::DSL+ include Capybara::RSpecMatchersinclude RSpec::Matchersattr_reader :context_selectordiff --git a/spec/support/components/global_search.rb b/spec/support/components/global_search.rbindex dad4105d75a..5b826d64c39 100644--- a/spec/support/components/global_search.rb+++ b/spec/support/components/global_search.rb@@ -1,10 +1,9 @@module Componentsclass GlobalSearchinclude Capybara::DSL+ include Capybara::RSpecMatchersinclude RSpec::Matchers- def initialize; end-def containerpage.find('.top-menu-search--input')enddiff --git a/spec/support/components/grids/grid_area.rb b/spec/support/components/grids/grid_area.rbindex e3c40b50c53..388c25e4840 100644--- a/spec/support/components/grids/grid_area.rb+++ b/spec/support/components/grids/grid_area.rb@@ -2,6 +2,7 @@ module Componentsmodule Gridsclass GridAreainclude Capybara::DSL+ include Capybara::RSpecMatchersinclude RSpec::Matchersattr_accessor :area_selectordiff --git a/spec/support/components/html_title.rb b/spec/support/components/html_title.rbindex 8e7985c22f2..6d6401398d5 100644--- a/spec/support/components/html_title.rb+++ b/spec/support/components/html_title.rb@@ -29,6 +29,7 @@module Componentsclass HtmlTitleinclude Capybara::DSL+ include Capybara::RSpecMatchersinclude RSpec::Matchersattr_reader :projectdiff --git a/spec/support/components/menu/dropdown.rb b/spec/support/components/menu/dropdown.rbindex 0476e495664..072b624e60f 100644--- a/spec/support/components/menu/dropdown.rb+++ b/spec/support/components/menu/dropdown.rb@@ -29,10 +29,9 @@module Componentsclass Dropdowninclude Capybara::DSL+ include Capybara::RSpecMatchersinclude RSpec::Matchers- def initialize; end-def toggletrigger_element.clickenddiff --git a/spec/support/components/password_confirmation_dialog.rb b/spec/support/components/password_confirmation_dialog.rbindex 373335d90b2..966afaee153 100644--- a/spec/support/components/password_confirmation_dialog.rb+++ b/spec/support/components/password_confirmation_dialog.rb@@ -29,6 +29,7 @@module Componentsclass PasswordConfirmationDialoginclude Capybara::DSL+ include Capybara::RSpecMatchersinclude RSpec::Matchersdef confirm_flow_with(password, should_fail: false)diff --git a/spec/support/components/project_include_component.rb b/spec/support/components/project_include_component.rbindex 7135c7eb2dc..82ee12e9698 100644--- a/spec/support/components/project_include_component.rb+++ b/spec/support/components/project_include_component.rb@@ -29,10 +29,9 @@module Componentsclass ProjectIncludeComponentinclude Capybara::DSL+ include Capybara::RSpecMatchersinclude RSpec::Matchers- def initialize; end-def clear_tooltips# Just hover anything elsepage.find("[data-qa-selector='project-include-search']").hoverdiff --git a/spec/support/components/projects/top_menu.rb b/spec/support/components/projects/top_menu.rbindex fc1dba7dcf5..90a0f286fb2 100644--- a/spec/support/components/projects/top_menu.rb+++ b/spec/support/components/projects/top_menu.rb@@ -31,6 +31,7 @@ module Componentsmodule Projectsclass TopMenuinclude Capybara::DSL+ include Capybara::RSpecMatchersinclude RSpec::Matchersinclude ::Components::Autocompleter::AutocompleteHelpersdiff --git a/spec/support/components/table_pagination.rb b/spec/support/components/table_pagination.rbindex 7df9bb5fe13..99537867a71 100644--- a/spec/support/components/table_pagination.rb+++ b/spec/support/components/table_pagination.rb@@ -29,6 +29,7 @@module Componentsclass TablePaginationinclude Capybara::DSL+ include Capybara::RSpecMatchersinclude RSpec::Matchersdef expect_range(from, to, total)diff --git a/spec/support/components/timelines/configuration_modal.rb b/spec/support/components/timelines/configuration_modal.rbindex e15ffac1556..7ebc3f26349 100644--- a/spec/support/components/timelines/configuration_modal.rb+++ b/spec/support/components/timelines/configuration_modal.rb@@ -30,6 +30,7 @@ module Componentsmodule Timelinesclass ConfigurationModalinclude Capybara::DSL+ include Capybara::RSpecMatchersinclude RSpec::Matchersattr_reader :settings_menudiff --git a/spec/support/components/timelines/timeline_row.rb b/spec/support/components/timelines/timeline_row.rbindex 189ba701c34..83d6eae7277 100644--- a/spec/support/components/timelines/timeline_row.rb+++ b/spec/support/components/timelines/timeline_row.rb@@ -30,6 +30,7 @@ module Componentsmodule Timelinesclass TimelineRowinclude Capybara::DSL+ include Capybara::RSpecMatchersinclude RSpec::Matchersattr_reader :containerdiff --git a/spec/support/components/work_packages/activities.rb b/spec/support/components/work_packages/activities.rbindex 339b82843b6..3fe83236230 100644--- a/spec/support/components/work_packages/activities.rb+++ b/spec/support/components/work_packages/activities.rb@@ -30,6 +30,7 @@ module Componentsmodule WorkPackagesclass Activitiesinclude Capybara::DSL+ include Capybara::RSpecMatchersinclude RSpec::Matchersattr_reader :work_packagediff --git a/spec/support/components/work_packages/columns.rb b/spec/support/components/work_packages/columns.rbindex dea8064c4eb..c157131b23d 100644--- a/spec/support/components/work_packages/columns.rb+++ b/spec/support/components/work_packages/columns.rb@@ -32,6 +32,7 @@ module Componentsmodule WorkPackagesclass Columnsinclude Capybara::DSL+ include Capybara::RSpecMatchersinclude RSpec::Matchersinclude ::Components::Autocompleter::NgSelectAutocompleteHelpersdiff --git a/spec/support/components/work_packages/context_menu.rb b/spec/support/components/work_packages/context_menu.rbindex efed323f6ba..83e0dbb3e92 100644--- a/spec/support/components/work_packages/context_menu.rb+++ b/spec/support/components/work_packages/context_menu.rb@@ -30,6 +30,7 @@ module Componentsmodule WorkPackagesclass ContextMenuinclude Capybara::DSL+ include Capybara::RSpecMatchersinclude RSpec::Matchersdef open_for(work_package, card_view: false)diff --git a/spec/support/components/work_packages/destroy_modal.rb b/spec/support/components/work_packages/destroy_modal.rbindex 97ce2b4831f..873e3292a08 100644--- a/spec/support/components/work_packages/destroy_modal.rb+++ b/spec/support/components/work_packages/destroy_modal.rb@@ -30,6 +30,7 @@ module Componentsmodule WorkPackagesclass DestroyModalinclude Capybara::DSL+ include Capybara::RSpecMatchersinclude RSpec::Matchersdef containerdiff --git a/spec/support/components/work_packages/display_representation.rb b/spec/support/components/work_packages/display_representation.rbindex 982365151f6..aa6e1a0eadd 100644--- a/spec/support/components/work_packages/display_representation.rb+++ b/spec/support/components/work_packages/display_representation.rb@@ -30,10 +30,9 @@ module Componentsmodule WorkPackagesclass DisplayRepresentationinclude Capybara::DSL+ include Capybara::RSpecMatchersinclude RSpec::Matchers- def initialize; end-def switch_to_card_layoutexpect_button 'Card'select_view 'Card'diff --git a/spec/support/components/work_packages/filters.rb b/spec/support/components/work_packages/filters.rbindex e5afb10835e..f093321b06e 100644--- a/spec/support/components/work_packages/filters.rb+++ b/spec/support/components/work_packages/filters.rb@@ -33,6 +33,7 @@ module Componentsmodule WorkPackagesclass Filtersinclude Capybara::DSL+ include Capybara::RSpecMatchersinclude RSpec::Matchersinclude SeleniumWorkaroundsinclude ::Components::Autocompleter::NgSelectAutocompleteHelpersdiff --git a/spec/support/components/work_packages/group_by.rb b/spec/support/components/work_packages/group_by.rbindex e14c4af74d6..ffd98cf3364 100644--- a/spec/support/components/work_packages/group_by.rb+++ b/spec/support/components/work_packages/group_by.rb@@ -30,6 +30,7 @@ module Componentsmodule WorkPackagesclass GroupByinclude Capybara::DSL+ include Capybara::RSpecMatchersinclude RSpec::Matchersdef enable_via_header(name)diff --git a/spec/support/components/work_packages/hierarchies.rb b/spec/support/components/work_packages/hierarchies.rbindex 85883536f86..f16b435c1a1 100644--- a/spec/support/components/work_packages/hierarchies.rb+++ b/spec/support/components/work_packages/hierarchies.rb@@ -30,6 +30,7 @@ module Componentsmodule WorkPackagesclass Hierarchiesinclude Capybara::DSL+ include Capybara::RSpecMatchersinclude RSpec::Matchersattr_reader :context_menudiff --git a/spec/support/components/work_packages/query_menu.rb b/spec/support/components/work_packages/query_menu.rbindex 8261bce618a..50feb2c57f6 100644--- a/spec/support/components/work_packages/query_menu.rb+++ b/spec/support/components/work_packages/query_menu.rb@@ -31,6 +31,7 @@ module Componentsmodule WorkPackagesclass QueryMenuinclude Capybara::DSL+ include Capybara::RSpecMatchersinclude RSpec::Matchersinclude ::Components::Autocompleter::AutocompleteHelpersdiff --git a/spec/support/components/work_packages/query_title.rb b/spec/support/components/work_packages/query_title.rbindex b99333736b2..3f1182d9ba4 100644--- a/spec/support/components/work_packages/query_title.rb+++ b/spec/support/components/work_packages/query_title.rb@@ -30,6 +30,7 @@ module Componentsmodule WorkPackagesclass QueryTitleinclude Capybara::DSL+ include Capybara::RSpecMatchersinclude RSpec::Matchersdef expect_changeddiff --git a/spec/support/components/work_packages/relations.rb b/spec/support/components/work_packages/relations.rbindex 8dee65ec154..192b79ab926 100644--- a/spec/support/components/work_packages/relations.rb+++ b/spec/support/components/work_packages/relations.rb@@ -32,6 +32,7 @@ module Componentsmodule WorkPackagesclass Relationsinclude Capybara::DSL+ include Capybara::RSpecMatchersinclude RSpec::Matchersinclude ::Components::Autocompleter::NgSelectAutocompleteHelpersdiff --git a/spec/support/components/work_packages/settings_menu.rb b/spec/support/components/work_packages/settings_menu.rbindex cc1344f5793..2994358fdac 100644--- a/spec/support/components/work_packages/settings_menu.rb+++ b/spec/support/components/work_packages/settings_menu.rb@@ -30,6 +30,7 @@ module Componentsmodule WorkPackagesclass SettingsMenuinclude Capybara::DSL+ include Capybara::RSpecMatchersinclude RSpec::Matchersdef open_and_save_query(name)diff --git a/spec/support/components/work_packages/sort_by.rb b/spec/support/components/work_packages/sort_by.rbindex e24c147b304..97786c2e6b1 100644--- a/spec/support/components/work_packages/sort_by.rb+++ b/spec/support/components/work_packages/sort_by.rb@@ -30,6 +30,7 @@ module Componentsmodule WorkPackagesclass SortByinclude Capybara::DSL+ include Capybara::RSpecMatchersinclude RSpec::Matchersdef sort_via_header(name, selector: nil, descending: false)diff --git a/spec/support/components/work_packages/table_configuration/graph_general.rb b/spec/support/components/work_packages/table_configuration/graph_general.rbindex ba1693ee680..8d71ff73234 100644--- a/spec/support/components/work_packages/table_configuration/graph_general.rb+++ b/spec/support/components/work_packages/table_configuration/graph_general.rb@@ -31,6 +31,7 @@ module Componentsmodule TableConfigurationclass GraphGeneralinclude Capybara::DSL+ include Capybara::RSpecMatchersinclude RSpec::Matchersdef set_type(name)diff --git a/spec/support/components/work_packages/table_configuration/highlighting.rb b/spec/support/components/work_packages/table_configuration/highlighting.rbindex c78b3a196b5..5835dcdae93 100644--- a/spec/support/components/work_packages/table_configuration/highlighting.rb+++ b/spec/support/components/work_packages/table_configuration/highlighting.rb@@ -30,10 +30,9 @@ module Componentsmodule WorkPackagesclass Highlightinginclude Capybara::DSL+ include Capybara::RSpecMatchersinclude RSpec::Matchers- def initialize; end-def switch_highlighting_mode(label)modal_open? or open_modalchoose labeldiff --git a/spec/support/components/work_packages/table_configuration_modal.rb b/spec/support/components/work_packages/table_configuration_modal.rbindex 18d744800d9..06dec1d772c 100644--- a/spec/support/components/work_packages/table_configuration_modal.rb+++ b/spec/support/components/work_packages/table_configuration_modal.rb@@ -30,6 +30,7 @@ module Componentsmodule WorkPackagesclass TableConfigurationModalinclude Capybara::DSL+ include Capybara::RSpecMatchersinclude RSpec::Matchersattr_accessor :trigger_parentdiff --git a/spec/support/components/work_packages/tabs_counter.rb b/spec/support/components/work_packages/tabs_counter.rbindex 2ef35bbb736..f8f489da4ec 100644--- a/spec/support/components/work_packages/tabs_counter.rb+++ b/spec/support/components/work_packages/tabs_counter.rb@@ -2,6 +2,7 @@ module Componentsmodule WorkPackagesclass Tabsinclude Capybara::DSL+ include Capybara::RSpecMatchersinclude RSpec::Matchersattr_reader :work_packagediff --git a/spec/support/components/wysiwyg/wysiwyg_editor.rb b/spec/support/components/wysiwyg/wysiwyg_editor.rbindex d7ec72150c9..5007010edd9 100644--- a/spec/support/components/wysiwyg/wysiwyg_editor.rb+++ b/spec/support/components/wysiwyg/wysiwyg_editor.rb@@ -1,6 +1,7 @@module Componentsclass WysiwygEditorinclude Capybara::DSL+ include Capybara::RSpecMatchersinclude RSpec::Matchersattr_reader :context_selector, :attachmentsdiff --git a/spec/support/edit_fields/edit_field.rb b/spec/support/edit_fields/edit_field.rbindex 82e9cb5aeed..883d0e78b0c 100644--- a/spec/support/edit_fields/edit_field.rb+++ b/spec/support/edit_fields/edit_field.rb@@ -1,5 +1,6 @@class EditFieldinclude Capybara::DSL+ include Capybara::RSpecMatchersinclude RSpec::Matchersinclude ::Components::Autocompleter::NgSelectAutocompleteHelpersdiff --git a/spec/support/form_fields/form_field.rb b/spec/support/form_fields/form_field.rbindex 0b626b4da80..e80e253a4f5 100644--- a/spec/support/form_fields/form_field.rb+++ b/spec/support/form_fields/form_field.rb@@ -1,6 +1,7 @@module FormFieldsclass FormFieldinclude Capybara::DSL+ include Capybara::RSpecMatchersinclude RSpec::Matchersattr_reader :property, :selectordiff --git a/spec/support/pages/work_packages/work_package_cards.rb b/spec/support/pages/work_packages/work_package_cards.rbindex c595ef222a5..e61cc9fea44 100644--- a/spec/support/pages/work_packages/work_package_cards.rb+++ b/spec/support/pages/work_packages/work_package_cards.rb@@ -29,8 +29,6 @@ require 'support/pages/page'module Pagesclass WorkPackageCards < Page- include Capybara::DSL- include RSpec::Matchersattr_reader :projectdef initialize(project = nil)diff --git a/spec/views/layouts/base.html.erb_spec.rb b/spec/views/layouts/base.html.erb_spec.rbindex af5fed0715d..e4a61083a78 100644--- a/spec/views/layouts/base.html.erb_spec.rb+++ b/spec/views/layouts/base.html.erb_spec.rb@@ -33,6 +33,7 @@ describe 'layouts/base', type: :view do# we reach this spec, but for running this spec alone we need it here. Best# of both worlds.include Capybara::DSL+ include Capybara::RSpecMatchersinclude Redmine::MenuManager::MenuHelperhelper Redmine::MenuManager::MenuHelper