Sha256: 788080ed8153654fcbcbee44d90825d693919ad9e2a9cfa0899efbd0935125a9

Contents?: true

Size: 430 Bytes

Versions: 5

Compression:

Stored size: 430 Bytes

Contents

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

5 entries across 5 versions & 1 rubygems

Version Path
http-2.0.1 spec/regression_specs.rb
http-2.0.0 spec/regression_specs.rb
http-2.0.0.pre spec/regression_specs.rb
http-1.0.4 spec/regression_specs.rb
http-1.0.3 spec/regression_specs.rb