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

Christophe Bliard3bad35eb5acf
diff --git a/spec/features/projects/modules_spec.rb b/spec/features/projects/modules_spec.rb
index 7366239f900..045ab880ed6 100644
--- a/spec/features/projects/modules_spec.rb
+++ b/spec/features/projects/modules_spec.rb
@@ -75,7 +75,7 @@ RSpec.describe "Projects module administration" do
check "Work packages"
click_button "Save"
- settings_page.expect_toast message: I18n.t(:notice_successful_update)
+ expect_flash type: :success, message: I18n.t(:notice_successful_update)
expect(page).to have_checked_field "Activity"
expect(page).to have_checked_field "Calendars"