Sha256: 646c3d198cf824e23ecacde429472953641480b4088da0c0bfb1ee24537aaa92
Contents?: true
Size: 414 Bytes
Versions: 17
Compression:
Stored size: 414 Bytes
Contents
require File.expand_path(File.join(File.dirname(__FILE__), "/../../helper")) module Johnson module Conversions class FileTest < Johnson::TestCase def test_read_file File.open(__FILE__, 'rb') { |f| @runtime[:foo] = f assert_equal(f, @runtime.evaluate("foo")) assert_equal(File.read(__FILE__), @runtime.evaluate("foo.read()")) } end end end end
Version data entries
17 entries across 17 versions & 2 rubygems