Sha256: 208bac746691453125ed40999223f13f13ef248b9ad361c4b5e72a976fdf93e9

Contents?: true

Size: 292 Bytes

Versions: 3

Compression:

Stored size: 292 Bytes

Contents

require 'test/unit'

lib = File.expand_path("../../lib", __FILE__)
$:.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.3.1 test/test_helper.rb
text-1.3.0 test/test_helper.rb
text-1.2.3 test/test_helper.rb