Sha256: a1b5ad5b8e1fa321869277990ba45bab5ec4413c50b2f33fc6b67ad9abc1ab46

Contents?: true

Size: 461 Bytes

Versions: 14

Compression:

Stored size: 461 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

14 entries across 14 versions & 1 rubygems

Version Path
http-4.1.1 spec/regression_specs.rb
http-4.1.0 spec/regression_specs.rb
http-4.0.5 spec/regression_specs.rb
http-4.0.4 spec/regression_specs.rb
http-4.0.3 spec/regression_specs.rb
http-4.0.2 spec/regression_specs.rb
http-4.0.1 spec/regression_specs.rb
http-4.0.0 spec/regression_specs.rb
http-3.3.0 spec/regression_specs.rb
http-3.2.1 spec/regression_specs.rb
http-3.2.0 spec/regression_specs.rb
http-3.1.0 spec/regression_specs.rb
http-3.0.0 spec/regression_specs.rb
http-3.0.0.pre spec/regression_specs.rb