diff options
Diffstat (limited to 'spec/unit/node')
| -rwxr-xr-x | spec/unit/node/environment_spec.rb | 2 | ||||
| -rwxr-xr-x | spec/unit/node/facts_spec.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/spec/unit/node/environment_spec.rb b/spec/unit/node/environment_spec.rb index d0db2504c..11f1c9ce1 100755 --- a/spec/unit/node/environment_spec.rb +++ b/spec/unit/node/environment_spec.rb @@ -63,7 +63,7 @@ describe Puppet::Node::Environment do it "should reuse any existing resource type collection" do @env.known_resource_types.should equal(@env.known_resource_types) end - + it "should perform the initial import when creating a new collection" do @collection.expects(:perform_initial_import) Puppet::Resource::TypeCollection.expects(:new).returns @collection diff --git a/spec/unit/node/facts_spec.rb b/spec/unit/node/facts_spec.rb index 43532cc53..d276de28d 100755 --- a/spec/unit/node/facts_spec.rb +++ b/spec/unit/node/facts_spec.rb @@ -18,7 +18,7 @@ describe Puppet::Node::Facts, "when indirecting" do it "should add the node's certificate name as the 'clientcert' fact when adding local facts" do @facts.add_local_facts @facts.values["clientcert"].should == Puppet.settings[:certname] - end + end it "should add the Puppet version as a 'clientversion' fact when adding local facts" do @facts.add_local_facts |
