spec/virginia/service_spec.rb in virginia-0.4.0 vs spec/virginia/service_spec.rb in virginia-0.5.0

- old
+ new

@@ -16,10 +16,10 @@ Adhearsion.config.virginia.port = port Adhearsion.config.virginia.rackup = 'spec/fixtures/config.ru' end it "should instantiate the handler" do - rack_logger = mock 'Rack::CommonLogger' + rack_logger = double 'Rack::CommonLogger' ::Rack::CommonLogger.should_receive(:new).once.with(TestApp, Adhearsion.logger).and_return rack_logger ::Reel::Rack::Server.should_receive(:supervise_as).once.with(:reel_rack_server, rack_logger, options) Virginia::Service.start end end