$:.unshift File.expand_path("../..", __FILE__) require 'simplecov' SimpleCov.start do add_group 'Docify', 'lib/docify' end require 'docify' README_FILES = { '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? path end def fixture(file) File.read(File.join(fixture_path, file)) end