aboutsummaryrefslogtreecommitdiff
path: root/test/test_classifier.rb
diff options
context:
space:
mode:
authorJoshua Peek <josh@joshpeek.com>2012-06-22 10:09:24 -0500
committerJoshua Peek <josh@joshpeek.com>2012-06-22 10:09:24 -0500
commit5521dd08a062f39036b045c819201b6235fb32f8 (patch)
treee3085d9a7a58f084eabefc19987f3acb029d03ac /test/test_classifier.rb
parentb571c47a1c61394d371dcd4b8d2165b4e16f4e84 (diff)
Move test fixtures to samples/
Diffstat (limited to 'test/test_classifier.rb')
-rw-r--r--test/test_classifier.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/test_classifier.rb b/test/test_classifier.rb
index 508aa08..81725bc 100644
--- a/test/test_classifier.rb
+++ b/test/test_classifier.rb
@@ -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