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

subject editor spec cleanup

Jonas Jabari1aaa55d8b01f
diff --git a/spec/features/work_packages/details/inplace_editor/subject_editor_spec.rb b/spec/features/work_packages/details/inplace_editor/subject_editor_spec.rb
index eccc108ad7d..4c9aa83b16a 100644
--- a/spec/features/work_packages/details/inplace_editor/subject_editor_spec.rb
+++ b/spec/features/work_packages/details/inplace_editor/subject_editor_spec.rb
@@ -77,7 +77,7 @@ RSpec.describe "subject inplace editor", :js, :selenium do
end
context "with conflicting modification" do
- it "shows a conflict when modified elsewhere", with_flag: { primerized_work_package_activities: true } do
+ it "shows a conflict when modified elsewhere" do
work_package.subject = "Some other subject!"
work_package.save!
@@ -88,14 +88,5 @@ RSpec.describe "subject inplace editor", :js, :selenium do
work_packages_page.expect_conflict_error_banner
end
-
- it "shows a conflict when modified elsewhere", with_flag: { primerized_work_package_activities: false } do
- work_package.subject = "Some other subject!"
- work_package.save!
-
- field.display_element.click
-
- notification.expect_error(I18n.t("api_v3.errors.code_409"))
- end
end
end