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
Fix unit tests broken in ef02151dd19b7bc
Christophe Bliardf90e84e4565d
diff --git a/spec/models/queries/relations/filters/involved_filter_spec.rb b/spec/models/queries/relations/filters/involved_filter_spec.rbindex 57ef2afd0bd..bf5e691c8ae 100644--- a/spec/models/queries/relations/filters/involved_filter_spec.rb+++ b/spec/models/queries/relations/filters/involved_filter_spec.rb@@ -62,7 +62,7 @@ describe Queries::Relations::Filters::InvolvedFilter, type: :model dolet(:operator) { '=' }it 'is the same as handwriting the query' do- sql = "(from_id IN ('1') AND to_id IN (#{visible_sql}))\n OR (to_id IN ('1') AND from_id IN (#{visible_sql}))\n"+ sql = "(from_id IN ('1') AND to_id IN (#{visible_sql})) OR (to_id IN ('1') AND from_id IN (#{visible_sql}))"expected = model.where(sql)expect(instance.scope.to_sql).to eql expected.to_sql@@ -73,7 +73,7 @@ describe Queries::Relations::Filters::InvolvedFilter, type: :model dolet(:operator) { '!' }it 'is the same as handwriting the query' do- sql = "(from_id NOT IN ('1') AND to_id IN (#{visible_sql}))\n AND (to_id NOT IN ('1') AND from_id IN (#{visible_sql}))\n"+ sql = "(from_id NOT IN ('1') AND to_id IN (#{visible_sql})) AND (to_id NOT IN ('1') AND from_id IN (#{visible_sql}))"expected = model.where(sql)expect(instance.scope.to_sql).to eql expected.to_sql