spec/dossier/responder_spec.rb in dossier-2.8.0 vs spec/dossier/responder_spec.rb in dossier-2.9.0

- old
+ new

@@ -7,10 +7,10 @@ r.stub(:results).and_return(results) r.stub(:raw_results).and_return(results) } end - let(:results) { mock(arrays: [[]], hashes: [{}]) } + let(:results) { double(arrays: [[]], hashes: [{}]) } let(:report) { EmployeeReport.new } let(:reports) { [stub_out_report_results(report)] } let(:controller) { ActionController::Base.new.tap { |controller| controller.stub(:headers).and_return({}) } }