diff options
| author | Nick Lewis <nick@puppetlabs.com> | 2011-04-13 15:51:43 -0700 |
|---|---|---|
| committer | Nick Lewis <nick@puppetlabs.com> | 2011-04-13 15:51:43 -0700 |
| commit | 02691637553d5637ee01a433a516b5d8cc9768a9 (patch) | |
| tree | 9465b1ed4dcb64f68e6137be5ea094e8d305f5e9 /spec/unit/node | |
| parent | 008770dba7946b67f252561fecd967c7fe67fd17 (diff) | |
| parent | 24a277c5e805ce16e0b86e17e6cb2fbe1945ae07 (diff) | |
Merge branch 'ticket/next/6928' into next
Diffstat (limited to 'spec/unit/node')
| -rwxr-xr-x | spec/unit/node/environment_spec.rb | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/spec/unit/node/environment_spec.rb b/spec/unit/node/environment_spec.rb index d1badfa3a..b5efbd480 100755 --- a/spec/unit/node/environment_spec.rb +++ b/spec/unit/node/environment_spec.rb @@ -315,14 +315,6 @@ describe Puppet::Node::Environment do lambda { @env.instance_eval { perform_initial_import } }.should raise_error(Puppet::Error) end - it "should not do anything if the ignore_import settings is set" do - Puppet.settings[:ignoreimport] = true - @parser.expects(:string=).never - @parser.expects(:file=).never - @parser.expects(:parse).never - @env.instance_eval { perform_initial_import } - end - it "should mark the type collection as needing a reparse when there is an error parsing" do @parser.expects(:parse).raises Puppet::ParseError.new("Syntax error at ...") @env.stubs(:known_resource_types).returns Puppet::Resource::TypeCollection.new(@env) |
