Move test fixtures to samples/

This commit is contained in:
Joshua Peek
2012-06-22 10:09:24 -05:00
parent b571c47a1c
commit 5521dd08a0
247 changed files with 13 additions and 14 deletions

View File

@@ -8,12 +8,12 @@ require 'test/unit'
class TestClassifier < Test::Unit::TestCase
include Linguist
def fixtures_path
File.expand_path("../fixtures", __FILE__)
def samples_path
File.expand_path("../../samples", __FILE__)
end
def fixture(name)
File.read(File.join(fixtures_path, name))
File.read(File.join(samples_path, name))
end
def test_instance_freshness