spec/spec_helper.rb in docify-1.0.1 vs spec/spec_helper.rb in docify-1.0.2

- old
+ new

@@ -13,6 +13,14 @@ 'README.md' => 'markdown', 'README.markdown' => 'markdown', 'README.textile' => 'textile', 'README.txt' => 'rdoc', 'README.foo' => 'rdoc' -} +} + +def fixture_path + File.expand_path("../fixtures", __FILE__) +end + +def fixture(file) + File.read(File.join(fixture_path, file)) +end \ No newline at end of file