summaryrefslogtreecommitdiffstats
path: root/spec/unit/node
diff options
context:
space:
mode:
authorNick Lewis <nick@puppetlabs.com>2011-04-13 14:38:23 -0700
committerNick Lewis <nick@puppetlabs.com>2011-04-13 15:41:03 -0700
commit24a277c5e805ce16e0b86e17e6cb2fbe1945ae07 (patch)
treea9a3a3427e2b20829c3de699483a117f3f65fb22 /spec/unit/node
parentfc36e8de8cdf32ae13b9241f9a9eef4c2727056e (diff)
downloadpuppet-24a277c5e805ce16e0b86e17e6cb2fbe1945ae07.tar.gz
puppet-24a277c5e805ce16e0b86e17e6cb2fbe1945ae07.tar.xz
puppet-24a277c5e805ce16e0b86e17e6cb2fbe1945ae07.zip
(#6928) Removed --ignoreimport
This was only used with --parseonly, which is gone. Paired-With: Jesse Wolfe
Diffstat (limited to 'spec/unit/node')
-rwxr-xr-xspec/unit/node/environment_spec.rb8
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)