Sha256: b9581123cc35acd2f765b02279e80a6c56349e18d0f6e442894c631364380ee2
Contents?: true
Size: 339 Bytes
Versions: 41
Compression:
Stored size: 339 Bytes
Contents
require 'mechanize/test_case' class TestMechanizeFileSaver < Mechanize::TestCase def setup super @uri = URI 'http://example' @io = StringIO.new 'hello world' end def test_initialize in_tmpdir do Mechanize::FileSaver.new @uri, nil, @io, 200 assert File.exist? 'example/index.html' end end end
Version data entries
41 entries across 41 versions & 5 rubygems