pull/1847/head
Hagen Schink 10 years ago
parent 5929d75460
commit 1a4f254015
  1. 2
      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)

Loading…
Cancel
Save