diff options
-rwxr-xr-x | spec/unit/configurer_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/configurer_spec.rb b/spec/unit/configurer_spec.rb index 0c9d06362..ebc5768ea 100755 --- a/spec/unit/configurer_spec.rb +++ b/spec/unit/configurer_spec.rb @@ -418,7 +418,7 @@ describe Puppet::Configurer, "when retrieving a catalog" do end it "should return nil if there is an error while retrieving the catalog" do - Puppet::Resource::Catalog.expects(:find).raises "eh" + Puppet::Resource::Catalog.expects(:find).at_least_once.raises "eh" @agent.retrieve_catalog.should be_nil end |