Sha256: 232a8e76629b72e5739fd86b949927141c41497ea18e2a3d54440891a23060f6

Contents?: true

Size: 596 Bytes

Versions: 3

Compression:

Stored size: 596 Bytes

Contents

$:.unshift File.expand_path("../..", __FILE__)

require 'simplecov'
SimpleCov.start do
  add_group 'Docify', 'lib/docify'
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'
}

def fixture_path(file=nil)
  path = File.expand_path("../fixtures", __FILE__)
  path = File.join(path, file) unless file.nil?
  path
end

def fixture(file)
  File.read(File.join(fixture_path, file))
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
docify-1.0.5 spec/spec_helper.rb
docify-1.0.4 spec/spec_helper.rb
docify-1.0.3 spec/spec_helper.rb