Sha256: d3516a795671f36b440ff6c69899236acb0aaeaf4ea917640762a7cc008d71c9

Contents?: true

Size: 460 Bytes

Versions: 6

Compression:

Stored size: 460 Bytes

Contents

# frozen_string_literal: true
require "spec_helper"

RSpec.describe "Regression testing" do
  describe "#248" do
    it "does not fail with github" do
      github_uri = "http://github.com/"
      expect { HTTP.get(github_uri).to_s }.not_to raise_error
    end

    it "does not fail with googleapis" do
      google_uri = "https://www.googleapis.com/oauth2/v1/userinfo?alt=json"
      expect { HTTP.get(google_uri).to_s }.not_to raise_error
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
http-2.2.2 spec/regression_specs.rb
http-2.2.1 spec/regression_specs.rb
http-2.2.0 spec/regression_specs.rb
http-2.1.0 spec/regression_specs.rb
http-2.0.3 spec/regression_specs.rb
http-2.0.2 spec/regression_specs.rb