Sha256: 2bfde6910f412172ea0566c3efa1847c17fc5d1394145b350399e9be18baf395

Contents?: true

Size: 895 Bytes

Versions: 43

Compression:

Stored size: 895 Bytes

Contents

# coding: utf-8
# Copyright (C) Bob Aman
#
#    Licensed under the Apache License, Version 2.0 (the "License");
#    you may not use this file except in compliance with the License.
#    You may obtain a copy of the License at
#
#        http://www.apache.org/licenses/LICENSE-2.0
#
#    Unless required by applicable law or agreed to in writing, software
#    distributed under the License is distributed on an "AS IS" BASIS,
#    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
#    See the License for the specific language governing permissions and
#    limitations under the License.


require "spec_helper"

require "addressable/uri"
require "net/http"

describe Net::HTTP do
  it "should be compatible with Addressable" do
    response_body =
      Net::HTTP.get(Addressable::URI.parse('http://www.google.com/'))
    expect(response_body).not_to be_nil
  end
end

Version data entries

43 entries across 34 versions & 7 rubygems

Version Path
vagrant-unbundled-2.2.7.0 vendor/bundle/ruby/2.4.0/gems/addressable-2.5.1/spec/addressable/net_http_compat_spec.rb
vagrant-unbundled-2.2.5.0 vendor/bundle/ruby/2.5.0/gems/addressable-2.5.2/spec/addressable/net_http_compat_spec.rb
vagrant-unbundled-2.2.5.0 vendor/bundle/ruby/2.6.0/gems/addressable-2.5.2/spec/addressable/net_http_compat_spec.rb
dadapush_client-1.0.1 vendor/bundle/ruby/2.3.0/gems/addressable-2.5.2/spec/addressable/net_http_compat_spec.rb
tdiary-5.0.13 vendor/bundle/gems/addressable-2.5.2/spec/addressable/net_http_compat_spec.rb
tdiary-5.0.12.1 vendor/bundle/gems/addressable-2.5.2/spec/addressable/net_http_compat_spec.rb
vagrant-unbundled-2.2.4.0 vendor/bundle/ruby/2.6.0/gems/addressable-2.5.2/spec/addressable/net_http_compat_spec.rb
vagrant-unbundled-2.2.4.0 vendor/bundle/ruby/2.5.0/gems/addressable-2.5.2/spec/addressable/net_http_compat_spec.rb
vagrant-unbundled-2.2.3.0 vendor/bundle/ruby/2.5.0/gems/addressable-2.5.2/spec/addressable/net_http_compat_spec.rb
tdiary-5.0.11 vendor/bundle/gems/addressable-2.5.2/spec/addressable/net_http_compat_spec.rb
vagrant-unbundled-2.2.2.0 vendor/bundle/ruby/2.5.0/gems/addressable-2.5.2/spec/addressable/net_http_compat_spec.rb
vagrant-unbundled-2.2.0.0 vendor/bundle/ruby/2.5.0/gems/addressable-2.5.2/spec/addressable/net_http_compat_spec.rb
vagrant-unbundled-2.1.4.0 vendor/bundle/ruby/2.5.0/gems/addressable-2.5.2/spec/addressable/net_http_compat_spec.rb
vagrant-unbundled-2.1.2.0 vendor/bundle/ruby/2.3.0/gems/addressable-2.5.2/spec/addressable/net_http_compat_spec.rb
cloudsmith-api-0.30.7 vendor/bundle/ruby/2.3.0/gems/addressable-2.5.2/spec/addressable/net_http_compat_spec.rb
tdiary-5.0.9 vendor/bundle/gems/addressable-2.5.2/spec/addressable/net_http_compat_spec.rb
color_me_shop-1.0.0 vendor/bundle/ruby/2.5.0/gems/addressable-2.5.2/spec/addressable/net_http_compat_spec.rb
vagrant-unbundled-2.1.1.0 vendor/bundle/ruby/2.5.0/gems/addressable-2.5.2/spec/addressable/net_http_compat_spec.rb
vagrant-unbundled-2.0.4.0 vendor/bundle/ruby/2.5.0/gems/addressable-2.5.2/spec/addressable/net_http_compat_spec.rb
tdiary-5.0.8 vendor/bundle/gems/tdiary-5.0.7/vendor/bundle/gems/addressable-2.5.2/spec/addressable/net_http_compat_spec.rb