Sha256: e5ec646d927396130dead5f46778b87a7237979a7fc132508f268355b8dc8089
Contents?: true
Size: 554 Bytes
Versions: 33
Compression:
Stored size: 554 Bytes
Contents
require File.expand_path(File.join(File.dirname(__FILE__), 'helper')) class TestCurbCurlEasySetOpt < Test::Unit::TestCase def setup @easy = Curl::Easy.new end def test_opt_verbose @easy.set :verbose, true assert @easy.verbose? end def test_opt_header @easy.set :header, true end def test_opt_noprogress @easy.set :noprogress, true end def test_opt_nosignal @easy.set :nosignal, true end def test_opt_url url = "http://google.com/" @easy.set :url, url assert_equal url, @easy.url end end
Version data entries
33 entries across 33 versions & 3 rubygems