Browse files

Attempt to load yard gemspec properly, references #579

  • Loading branch information...
1 parent ec45a8d commit 6e3c9c0b0a2fa684b389889593bfdcdb190ea205 @lsegal committed Aug 6, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 spec/rubygems/doc_manager_spec.rb
View
2 spec/rubygems/doc_manager_spec.rb
@@ -11,7 +11,7 @@
YARD::CLI::Yardoc.stub(:run)
- @spec_file = File.join(YARD::ROOT, '../yard.gemspec')
+ @spec_file = File.join(YARD::ROOT, '..', 'yard.gemspec')
@spec = Gem::SourceIndex.load_specification(@spec_file)
@spec.has_yardoc = false # no yardoc docs for now
@yardopts = File.join(@spec.full_gem_path, '.yardopts')

0 comments on commit 6e3c9c0

Please sign in to comment.