spec/unit/controller/controller_spec.rb in request-log-analyzer-1.3.7 vs spec/unit/controller/controller_spec.rb in request-log-analyzer-1.4.0
- old
+ new
@@ -15,11 +15,11 @@
end
it "should call aggregators correctly when run" do
controller = RequestLogAnalyzer::Controller.new(mock_source, :output => mock_output)
- mock_aggregator = mock('RequestLogAnalyzer::Aggregator::Base')
+ mock_aggregator = mock('RequestLogAnalyzer::Aggregator::Base')
mock_aggregator.should_receive(:prepare).once.ordered
mock_aggregator.should_receive(:aggregate).with(an_instance_of(testing_format.request_class)).twice.ordered
mock_aggregator.should_receive(:finalize).once.ordered
mock_aggregator.should_receive(:report).once.ordered
@@ -36,6 +36,6 @@
controller.filters << mock_filter
controller.run!
end
-end
\ No newline at end of file
+end