Sha256: f0facdbfefccccf72572dde3663382c4db03908b18ec095c53647e8cb2481ca4
Contents?: true
Size: 542 Bytes
Versions: 12
Compression:
Stored size: 542 Bytes
Contents
#! /usr/bin/env ruby require 'spec_helper' require 'puppet/network/authorization' describe Puppet::Network::Authorization do class AuthTest include Puppet::Network::Authorization end subject { AuthTest.new } describe "when creating an authconfig object" do it "creates default ACL entries if no file has been read" do Puppet::Network::AuthConfigParser.expects(:new_from_file).raises Errno::ENOENT Puppet::Network::AuthConfig.any_instance.expects(:insert_default_acl) subject.authconfig end end end
Version data entries
12 entries across 12 versions & 2 rubygems