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 id for specs with the 'active' id

Ivan Kuchin2cc9f9cc46db
diff --git a/spec/models/queries/projects/factory_spec.rb b/spec/models/queries/projects/factory_spec.rb
index 070f70d6ec2..fb22dec9d87 100644
--- a/spec/models/queries/projects/factory_spec.rb
+++ b/spec/models/queries/projects/factory_spec.rb
@@ -438,7 +438,7 @@ RSpec.describe Queries::Projects::Factory,
end
context "with the 'active' id and with filter params" do
- let(:id) { nil }
+ let(:id) { "active" }
let(:params) do
{
filters: [
@@ -485,7 +485,7 @@ RSpec.describe Queries::Projects::Factory,
end
context "with the 'active' id and with select params" do
- let(:id) { nil }
+ let(:id) { "active" }
let(:params) do
{
selects: %w[description project_status]