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

@@ -10,13 +10,13 @@ class TestBlob < Test::Unit::TestCase
Lexer = Pygments::Lexer
def fixtures_path
File.expand_path("../fixtures", __FILE__)
def samples_path
File.expand_path("../../samples", __FILE__)
end
def blob(name)
name = File.join(fixtures_path, name) unless name =~ /^\//
FileBlob.new(name, fixtures_path)
name = File.join(samples_path, name) unless name =~ /^\//
FileBlob.new(name, samples_path)
end
def script_blob(name)