Sha256: ce14aaf7f541356f1bfc83587c509f75bf2947bc0ee1c202bb592c49295f10c0

Contents?: true

Size: 282 Bytes

Versions: 3

Compression:

Stored size: 282 Bytes

Contents

require 'test/unit'

lib = File.expand_path("../../lib")
$:.unshift lib unless $:.include?(lib)

class Test::Unit::TestCase
  def data_file_path(*path)
    File.join(File.dirname(__FILE__), "data", *path)
  end

  def data_file(*path)
    File.read(data_file_path(*path))
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
text-1.2.2 test/preamble.rb
text-1.0.5 test/preamble.rb
text-1.2.1 test/preamble.rb