spec/views/manifestations/index.html.erb_spec.rb in enju_biblio-0.2.0.beta.3 vs spec/views/manifestations/index.html.erb_spec.rb in enju_biblio-0.2.0.beta.4

- old
+ new

@@ -10,10 +10,10 @@ @index_agent = {} @count = { query_result: 1 } @reservable_facet = @carrier_type_facet = @language_facet = @library_facet = @pub_year_facet = [] @seconds = 0 @max_number_of_results = 500 - view.stub(:params).and_return(ActionController::Parameters.new(per_page: 50)) + view.stub(:filtered_params).and_return(ActionController::Parameters.new(per_page: 50).permit(:per_page)) end describe "sort_by menu" do it "should reflect per_page params for views" do render