spec/spec_helper.rb in docify-1.0.5 vs spec/spec_helper.rb in docify-1.0.6
- old
+ new
@@ -6,16 +6,12 @@
end
require 'docify'
README_FILES = {
- 'README' => 'rdoc',
- 'README.rdoc' => 'rdoc',
- 'README.md' => 'markdown',
- 'README.markdown' => 'markdown',
- 'README.textile' => 'textile',
- 'README.txt' => 'rdoc',
- 'README.foo' => 'rdoc'
+ 'README.rdoc' => :rdoc,
+ 'README.markdown' => :markdown,
+ 'README.textile' => :textile
}
def fixture_path(file=nil)
path = File.expand_path("../fixtures", __FILE__)
path = File.join(path, file) unless file.nil?