Revision: 31151
Updated Code
at August 31, 2010 03:38 by joshcarter
Updated Code
class Test::Unit::TestCase def canned_file(filename, format = :xml) File::read("test/data/#{filename}.#{format}") end end
Revision: 31150
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at August 31, 2010 03:37 by joshcarter
Initial Code
class Test::Unit::TestCase def canned_file(filename, format = :xml) File::read("test/data/#{filename}.#{format}") end end
Initial URL
Initial Description
Initial Title
Read Canned Data File For Unit Test
Initial Tags
Initial Language
Ruby