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
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
[rubocop] Consider using explicit block argument in the surrounding method's signature over `yield`.
Kabiru Mwenja25b5f9cd3f89
diff --git a/spec/features/activities/work_package/activity_tab_comment_editor_spec.rb b/spec/features/activities/work_package/activity_tab_comment_editor_spec.rbindex 6581312d2d9..988bde84570 100644--- a/spec/features/activities/work_package/activity_tab_comment_editor_spec.rb+++ b/spec/features/activities/work_package/activity_tab_comment_editor_spec.rb@@ -87,14 +87,12 @@ RSpec.describe "Work package activity tab comment editor",endend- def expect_editor_to_be_dismissed_with_confirmation+ def expect_editor_to_be_dismissed_with_confirmation(&)activity_tab.add_comment(text: "Sample text", save: false)activity_tab.expect_focus_on_editor- accept_alert do- yield- end+ accept_alert(&)expect(page).not_to have_test_selector("op-work-package-journal-form-element")end