Permalink
Browse files

(#12309) Fix broken module_spec.rb

  • Loading branch information...
1 parent c586eef commit 76784dacad82c338c755784fd285c7e43879fa49 cprice committed Feb 3, 2012
Showing with 1 addition and 2 deletions.
  1. +1 −2 spec/unit/module_spec.rb
View
@@ -315,10 +315,9 @@
mod = Puppet::Module.new("foo")
mod.stubs(:path).returns "/a/foo"
FileTest.expects(:exist?).with("/a/foo/plugins").returns true
+ Puppet.expects(:deprecation_warning).with("using the deprecated 'plugins' directory for ruby extensions; please move to 'lib'")
mod.plugin_directory.should == "/a/foo/plugins"
- @logs.first.message.should == "using the deprecated 'plugins' directory for ruby extensions; please move to 'lib'"
- @logs.first.level.should == :warning
end
it "should default to 'lib' for the plugins directory" do

0 comments on commit 76784da

Please sign in to comment.