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 feature spec

Christophe Bliard58251c2753d1
diff --git a/spec/features/admin/enterprise/enterprise_trial_spec.rb b/spec/features/admin/enterprise/enterprise_trial_spec.rb
index a25174546a8..ace0b778621 100644
--- a/spec/features/admin/enterprise/enterprise_trial_spec.rb
+++ b/spec/features/admin/enterprise/enterprise_trial_spec.rb
@@ -264,10 +264,10 @@ RSpec.describe "Enterprise trial management",
expect(page).to have_text("Quick feature overview")
expect(page).to have_css("#enterprise-trial-welcome-dialog iframe")
- expect(page).to have_text("Enterprise Plan (Token Version 1)")
+ expect(page).to have_text("Enterprise Plan")
+ expect(page).to have_text("Expired")
expect(page).to have_text("OpenProject Test")
expect(page).to have_text("5")
- expect(page).to have_text("[email protected]") # Generated token has different mail than the one used for trial
expect(page).to have_text("01/01/2020 – 01/02/2020")
end
@@ -286,10 +286,10 @@ RSpec.describe "Enterprise trial management",
expect(page).to have_text("Quick feature overview")
expect(page).to have_css("#enterprise-trial-welcome-dialog iframe")
- expect(page).to have_text("Enterprise Plan (Token Version 1)")
+ expect(page).to have_text("Enterprise Plan")
+ expect(page).to have_text("Expired")
expect(page).to have_text("OpenProject Test")
expect(page).to have_text("5")
- expect(page).to have_text("[email protected]") # Generated token has different mail than the one used for trial
expect(page).to have_text("01/01/2020 – 01/02/2020")
end
end