diff options
author | Stig Sandbeck Mathisen <ssm@debian.org> | 2014-09-07 10:14:36 +0200 |
---|---|---|
committer | Stig Sandbeck Mathisen <ssm@debian.org> | 2014-09-07 10:14:36 +0200 |
commit | d4b83be375ac1dead058e091191ee7c7b7c24c8a (patch) | |
tree | dc825687392ae3068de5b764be60c53122d9e02a /spec/integration/configurer_spec.rb | |
parent | 229cbb976fe0f70f5f30548b83517b415840f9bb (diff) | |
parent | 1681684857c6e39d60d87b0b3520d8783977ceff (diff) | |
download | puppet-upstream/3.7.0.tar.gz |
Imported Upstream version 3.7.0upstream/3.7.0
Diffstat (limited to 'spec/integration/configurer_spec.rb')
-rwxr-xr-x | spec/integration/configurer_spec.rb | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/spec/integration/configurer_spec.rb b/spec/integration/configurer_spec.rb index 2e0c7370e..be1f34ca3 100755 --- a/spec/integration/configurer_spec.rb +++ b/spec/integration/configurer_spec.rb @@ -6,20 +6,6 @@ require 'puppet/configurer' describe Puppet::Configurer do include PuppetSpec::Files - describe "when downloading plugins" do - it "should use the :pluginsignore setting, split on whitespace, for ignoring remote files" do - Puppet.settings.stubs(:use) - resource = Puppet::Type.type(:notify).new :name => "yay" - Puppet::Type.type(:file).expects(:new).at_most(2).with do |args| - args[:ignore] == Puppet[:pluginsignore].split(/\s+/) - end.returns resource - - configurer = Puppet::Configurer.new - configurer.stubs(:download_plugins?).returns true - configurer.download_plugins(Puppet::Node::Environment.remote(:testing)) - end - end - describe "when running" do before(:each) do @catalog = Puppet::Resource::Catalog.new("testing", Puppet.lookup(:environments).get(Puppet[:environment])) |