/ Published in: Ruby
Expand |
Embed | Plain Text
class Test::Unit::TestCase def canned_file(filename, format = :xml) File::read("test/data/#{filename}.#{format}") end end
You need to login to post a comment.
class Test::Unit::TestCase def canned_file(filename, format = :xml) File::read("test/data/#{filename}.#{format}") end end
You need to login to post a comment.