Sha256: 7262fbeef3918f3be9043d5dd26827098719dc803a30d9bb3b35767e84a7dd4d
Contents?: true
Size: 431 Bytes
Versions: 7
Compression:
Stored size: 431 Bytes
Contents
require "rack/test" describe Metrics::Integration::WEBrick do it "should start the WEBrick thread" do Thread.stub!(:new).and_return do |block| block.call end mock_server = mock(WEBrick::HTTPServer) WEBrick::HTTPServer.should_receive(:new).and_return mock_server mock_server.should_receive(:mount) mock_server.should_receive(:start) Metrics::Integration::WEBrick.start end end
Version data entries
7 entries across 7 versions & 2 rubygems