7
7
describe Puppet::Network::Server do
8
8
describe "when using mongrel" do
9
9
confine "Mongrel is not available" => Puppet.features.mongrel?
12
12
Puppet[:servertype] = 'mongrel'
17
20
describe "before listening" do
18
21
it "should not be reachable at the specified address and port" do
19
22
lambda { TCPSocket.new('127.0.0.1', 34346) }.should raise_error(Errno::ECONNREFUSED)