391
391
it "should use its certname to retrieve the catalog" do
392
392
Facter.stubs(:value).returns "eh"
393
393
Puppet.settings[:certname] = "myhost.domain.com"
399
399
it "should default to returning a catalog retrieved directly from the server, skipping the cache" do
402
402
@agent.retrieve_catalog.should == @catalog
405
405
it "should log and return the cached catalog when no catalog can be retrieved from the server" do