diff options
| author | Josh Cooper <josh@puppetlabs.com> | 2011-07-26 14:57:33 -0700 |
|---|---|---|
| committer | Josh Cooper <josh@puppetlabs.com> | 2011-07-26 14:57:33 -0700 |
| commit | 770e30d620271f988321ea45c108fb167ab55ad7 (patch) | |
| tree | 48a4bcd382919164b3938e9a20de97cf6ab89a2b /spec/unit/util | |
| parent | b13427b56d8529731d0334d420b24a592ecb43ea (diff) | |
| parent | 9279d0954eb20d75e18a666fd572b5492e157608 (diff) | |
Merge branch 'feature/master/8268-puppet-agent-windows'
* feature/master/8268-puppet-agent-windows:
Fix issue with forward and backslashes in Windows paths
Disable spec tests for unsupported functionality on Windows
Update certificate spec tests for Windows
Diffstat (limited to 'spec/unit/util')
| -rwxr-xr-x | spec/unit/util/rdoc/parser_spec.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/unit/util/rdoc/parser_spec.rb b/spec/unit/util/rdoc/parser_spec.rb index 4c2c79e88..29e3298f0 100755 --- a/spec/unit/util/rdoc/parser_spec.rb +++ b/spec/unit/util/rdoc/parser_spec.rb @@ -149,6 +149,10 @@ describe RDoc::Parser, :'fails_on_ruby_1.9.2' => true do File.stubs(:identical?).returns(false) @parser.split_module("/path/to/manifests/init.pp").should == RDoc::Parser::SITE end + + it "should handle windows paths with drive letters", :if => Puppet.features.microsoft_windows? do + @parser.split_module("C:/temp/init.pp").should == RDoc::Parser::SITE + end end describe "when parsing AST elements" do |
