summaryrefslogtreecommitdiffstats
path: root/spec/unit/parser
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/parser
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/parser')
-rwxr-xr-xspec/unit/parser/type_loader_spec.rb6
1 files changed, 0 insertions, 6 deletions
diff --git a/spec/unit/parser/type_loader_spec.rb b/spec/unit/parser/type_loader_spec.rb
index 9367b61c8..48a3f29d3 100755
--- a/spec/unit/parser/type_loader_spec.rb
+++ b/spec/unit/parser/type_loader_spec.rb
@@ -44,12 +44,6 @@ describe Puppet::Parser::TypeLoader do
Puppet::Parser::Parser.any_instance.stubs(:file=)
end
- it "should return immediately when imports are being ignored" do
- Puppet::Parser::Files.expects(:find_manifests).never
- Puppet[:ignoreimport] = true
- @loader.import("foo").should be_nil
- end
-
it "should find all manifests matching the file or pattern" do
Puppet::Parser::Files.expects(:find_manifests).with { |pat, opts| pat == "myfile" }.returns ["modname", %w{one}]
@loader.import("myfile")