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 broken feature test

Christophe Bliard3ae541b504e8
diff --git a/spec/features/admin/enterprise/enterprise_spec.rb b/spec/features/admin/enterprise/enterprise_spec.rb
index 62d7ddb2b4b..048843fce33 100644
--- a/spec/features/admin/enterprise/enterprise_spec.rb
+++ b/spec/features/admin/enterprise/enterprise_spec.rb
@@ -84,10 +84,8 @@ RSpec.describe "Enterprise token", :js do
# Table headers
[
- "Plan",
- "Subscriber",
- "Maximum active users",
- "Email",
+ "Subscription",
+ "Active users",
"Domain",
"Dates"
].each do |attribute|
@@ -96,10 +94,8 @@ RSpec.describe "Enterprise token", :js do
# Token values
[
- "Enterprise Plan (Token Version #{token_object.version})",
- "Foobar",
+ "Enterprise Plan\nFoobar",
"Unlimited",
Setting.host_name,
"#{format_date(Date.current)} – Unlimited"
].each do |attribute|