summaryrefslogtreecommitdiff
path: root/spec/unit/util/rdoc/parser_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/unit/util/rdoc/parser_spec.rb')
-rwxr-xr-xspec/unit/util/rdoc/parser_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/util/rdoc/parser_spec.rb b/spec/unit/util/rdoc/parser_spec.rb
index 9c8cc7588..892b932b2 100755
--- a/spec/unit/util/rdoc/parser_spec.rb
+++ b/spec/unit/util/rdoc/parser_spec.rb
@@ -135,7 +135,7 @@ describe RDoc::Parser, :'fails_on_ruby_1.9.2' => true do
describe "when finding modules from filepath" do
before :each do
- Puppet::Module.stubs(:modulepath).returns("/path/to/modules")
+ Puppet::Node::Environment.any_instance.stubs(:modulepath).returns("/path/to/modules")
end
it "should return the module name for modulized puppet manifests" do