Sha256: 18c382f26fc2f44093c4dfa8f1c1c35802a82760ed7434cfe050868aa18774e9
Contents?: true
Size: 392 Bytes
Versions: 22
Compression:
Stored size: 392 Bytes
Contents
require 'spec_helper' require 'certmeister/policy/noop' describe Certmeister::Policy::Noop do it "demands a request" do expect { subject.authenticate }.to raise_error(ArgumentError) end it "authenticates any non-empty request" do response = subject.authenticate(anything: 'something') expect(response).to be_authenticated expect(response.error).to be_nil end end
Version data entries
22 entries across 22 versions & 1 rubygems