Sha256: 9e0f78afc1010cebfa4d7820ca28a7fadcf84ed1ce7e6b05cf67f7a91dd43770
Contents?: true
Size: 525 Bytes
Versions: 1
Compression:
Stored size: 525 Bytes
Contents
# coding: utf-8 class ThinReports::TestCaseRunner ROOTDIR = File.expand_path(File.join('test', 'case')) class << self attr_accessor :current def current(casename) @current = casename.to_s end def layout_file case_resource("#{@current}.tlf") end def output_file case_resource("#{@current}.pdf") end def case_resource(filename = nil) File.join(*[ROOTDIR, @current, filename].compact) end end end CaseRunner = ThinReports::TestCaseRunner
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
thinreports-0.7.0 | test/case/helper.rb |