spec/certmeister/policy/ip_spec.rb in certmeister-0.2.1 vs spec/certmeister/policy/ip_spec.rb in certmeister-0.2.3

- old
+ new

@@ -10,10 +10,10 @@ it "demands a request" do expect { subject.authenticate }.to raise_error(ArgumentError) end it "explodes if initialized with things other than CIDR strings" do - expect { Certmeister::Policy::IP.new(['localhost']) }.to_not raise_error(IPAddr::Error) + expect { Certmeister::Policy::IP.new(['localhost']) }.to raise_error(IPAddr::Error) end it "refuses to authenticate a request with a missing ip" do response = subject.authenticate(cn: 'localhost') expect(response).to_not be_authenticated