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/parser | |
| parent | 008770dba7946b67f252561fecd967c7fe67fd17 (diff) | |
| parent | 24a277c5e805ce16e0b86e17e6cb2fbe1945ae07 (diff) | |
Merge branch 'ticket/next/6928' into next
Diffstat (limited to 'spec/unit/parser')
| -rwxr-xr-x | spec/unit/parser/type_loader_spec.rb | 6 |
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") |
