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

Version Path
radiospieler-0.3.0 test/http_test.rb
radiospiel-app-0.2.10 test/http_test.rb
radiospiel-app-0.2.9 test/http_test.rb
radiospiel-app-0.2.7 test/http_test.rb
radiospiel-app-0.2.6 test/http_test.rb
radiospiel-app-0.2.5 test/http_test.rb
radiospiel-app-0.2.3 test/http_test.rb
radiospiel-app-0.2.2 test/http_test.rb
radiospiel-app-0.2.1 test/http_test.rb
radiospiel-app-0.2.0 test/http_test.rb
radiospiel-app-0.1.1 test/http_test.rb