Sha256: ba5dbbdc79264bf46a7226965282ea66ca5769fc51742369a73038b1c2570d70
Contents?: true
Size: 384 Bytes
Versions: 7
Compression:
Stored size: 384 Bytes
Contents
# encoding: utf-8 require_relative 'test_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
7 entries across 7 versions & 1 rubygems