summaryrefslogtreecommitdiffstats
path: root/spec/unit/util/rdoc/parser_spec.rb
diff options
context:
space:
mode:
authorJames Turnbull <james@lovedthanlost.net>2010-07-09 01:52:46 +1000
committerMarkus Roberts <Markus@reality.com>2010-07-09 09:31:56 -0700
commitb4593f24871b8e6525293f7dc6607bb5ba9ba6fe (patch)
tree95238ee6f8a1a60c76f5cfc7423a1b8c0dcfdf4b /spec/unit/util/rdoc/parser_spec.rb
parentdda165af210c598715c2cf50ba29f8466a589687 (diff)
downloadpuppet-b4593f24871b8e6525293f7dc6607bb5ba9ba6fe.tar.gz
puppet-b4593f24871b8e6525293f7dc6607bb5ba9ba6fe.tar.xz
puppet-b4593f24871b8e6525293f7dc6607bb5ba9ba6fe.zip
Update RDoc parser to reflect change of custom plugin and fact locations
Diffstat (limited to 'spec/unit/util/rdoc/parser_spec.rb')
-rwxr-xr-xspec/unit/util/rdoc/parser_spec.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/unit/util/rdoc/parser_spec.rb b/spec/unit/util/rdoc/parser_spec.rb
index 7113b9539..d30c0c13b 100755
--- a/spec/unit/util/rdoc/parser_spec.rb
+++ b/spec/unit/util/rdoc/parser_spec.rb
@@ -109,7 +109,7 @@ describe RDoc::Parser do
end
it "should defer plugins parsing to parse_plugins for this module" do
- @parser.input_file_name = "module/plugins/puppet/parser/function.rb"
+ @parser.input_file_name = "module/lib/puppet/parser/function.rb"
@parser.expects(:parse_plugins).with(@module)
@@ -462,14 +462,14 @@ describe RDoc::Parser do
end
it "should delegate parsing custom facts to parse_facts" do
- @parser = RDoc::Parser.new(@top_level, "module/manifests/plugins/puppet/facter/test.rb", nil, Options.instance, RDoc::Stats.new)
+ @parser = RDoc::Parser.new(@top_level, "module/manifests/lib/puppet/facter/test.rb", nil, Options.instance, RDoc::Stats.new)
@parser.expects(:parse_fact).with(@container)
@parser.parse_plugins(@container)
end
it "should delegate parsing plugins to parse_plugins" do
- @parser = RDoc::Parser.new(@top_level, "module/manifests/plugins/puppet/functions/test.rb", nil, Options.instance, RDoc::Stats.new)
+ @parser = RDoc::Parser.new(@top_level, "module/manifests/lib/puppet/functions/test.rb", nil, Options.instance, RDoc::Stats.new)
@parser.expects(:parse_puppet_plugin).with(@container)
@parser.parse_plugins(@container)