Sha256: e8e38691bdb3d232de6232817e7dd8dbd18757dddad9d7cc04f1509c05e123b7
Contents?: true
Size: 370 Bytes
Versions: 11
Compression:
Stored size: 370 Bytes
Contents
# encoding: utf-8 require 'helper' require 'vcr' VCR.configure do |c| c.cassette_library_dir = "#{File.dirname(__FILE__)}/fixtures-vcr" c.hook_into :webmock end class HttpTest < Test::Unit::TestCase def test_get VCR.use_cassette('http_test') do google = Http.get("http://google.de") assert google.starts_with?("<!doctype html>") end end end
Version data entries
11 entries across 11 versions & 2 rubygems