Sha256: 9fdcd940da22774f2e863f64d8dbe95646e45e175b5a2c4fea7056914b4a2b99

Contents?: true

Size: 553 Bytes

Versions: 2

Compression:

Stored size: 553 Bytes

Contents

#
# Testing rufus-verbs
#
# jmettraux@gmail.com
#
# Mon Jan 14 00:07:38 JST 2008
#

require File.dirname(__FILE__) + '/base.rb'


class HttpsTest < Test::Unit::TestCase
  include TestBaseMixin

  include Rufus::Verbs

  def setup
    # no need for an items server
  end

  def teardown
  end

  def test_0

    res = expect(
      200,
      nil,
      get(:uri => "https://jmettraux.wordpress.com/2006/03/31/cvs-down/"))

    #res.each_header do |h|
    #  p h
    #end

    #puts res.body
    assert res.body.match "^<!DOCTYPE html PUBLIC"
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rufus-verbs-1.0.1 test/https_test.rb
rufus-verbs-1.0.0 test/https_test.rb