diff --git a/spec/controllers/api/experimental/work_packages_controller_spec.rb b/spec/controllers/api/experimental/work_packages_controller_spec.rb index daf4b6e532..f267bc097f 100644 --- a/spec/controllers/api/experimental/work_packages_controller_spec.rb +++ b/spec/controllers/api/experimental/work_packages_controller_spec.rb @@ -97,7 +97,7 @@ describe Api::Experimental::WorkPackagesController, :type => :controller do expect(assigns(:query)).to eql expected_query end - %w(group_by c fields f sort is_public name page per_page display_sums).each do |filter_param| + %w(group_by c fields f sort is_public name display_sums).each do |filter_param| it "assigns a query which does not have the default filter arguments set if the #{filter_param} argument is provided" do expected_query = Query.new expect(Query).to receive(:new).with(anything, initialize_with_default_filter: false)