Extracting common methods into helper.

This commit is contained in:
Arfon Smith
2015-01-26 16:22:55 -06:00
parent 20a3e7e4b8
commit 69b68f3a44
7 changed files with 18 additions and 43 deletions

View File

@@ -3,10 +3,6 @@ require_relative "./helper"
class TestClassifier < Minitest::Test
include Linguist
def samples_path
File.expand_path("../../samples", __FILE__)
end
def fixture(name)
File.read(File.join(samples_path, name))
end