Skip to content

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

Fix invalid rspec syntax

Oliver Günther672ca6a93ff5
diff --git a/spec/features/work_packages/table/configuration_modal/column_spec.rb b/spec/features/work_packages/table/configuration_modal/column_spec.rb
index d1cc59b604d..b44a715b417 100644
--- a/spec/features/work_packages/table/configuration_modal/column_spec.rb
+++ b/spec/features/work_packages/table/configuration_modal/column_spec.rb
@@ -84,7 +84,7 @@ describe 'Work Package table configuration modal columns spec', js: true do
names = all('.wp-table--table-header').map(&:text)
# Depending on what browser is used, subject column may be first or second
# it doesn't matter for the outcome of this test
- expect(names).to eq(%w[SUBJECT ID PROJECT]).or(%w[ID SUBJECT PROJECT])
+ expect(names).to eq(%w[SUBJECT ID PROJECT]).or(eq(%w[ID SUBJECT PROJECT]))
end
end
end