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

Apply suggestions from code review.

Pavel Balashou1b6b23a26f5b
diff --git a/spec/features/projects/modules_spec.rb b/spec/features/projects/modules_spec.rb
index 9ba27daa3ed..f1952488686 100644
--- a/spec/features/projects/modules_spec.rb
+++ b/spec/features/projects/modules_spec.rb
@@ -63,7 +63,6 @@ RSpec.describe 'Projects module administration' do
expect(page).to have_unchecked_field 'Work packages'
check 'Calendar'
-
click_button 'Save'
expect(page)
@@ -73,6 +72,7 @@ RSpec.describe 'Projects module administration' do
module: 'Calendars')
expect(page).not_to have_xpath(project_work_packages_menu_link_selector, visible: false)
+
check 'Work packages'
click_button 'Save'