spec/lib/tasks/blacklight_task_spec.rb in blacklight-4.9.0 vs spec/lib/tasks/blacklight_task_spec.rb in blacklight-5.0.0.pre1

- old
+ new

@@ -13,10 +13,10 @@ @task_name = "blacklight:delete_old_searches" end it "should call Search.delete_old_searches" do days_old = 7 - expect(Search).to receive(:delete_old_searches).with(days_old) + Search.should_receive(:delete_old_searches).with(days_old) @rake[@task_name].invoke(days_old) end end