Sha256: c97a771806e1c885f73fe1a1176abfb1f517d4ee5fc87b91acca740b464ae89b

Contents?: true

Size: 319 Bytes

Versions: 13

Compression:

Stored size: 319 Bytes

Contents

require 'unit/spec_helper'

module Infrataster
  module Resources
    describe HttpResource do
      context "with no scheme URI" do
        it "complements scheme" do
          resource = HttpResource.new('/path/to/resource')
          expect(resource.uri.scheme).to eq('http')
        end
      end
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
infrataster-0.3.2 spec/unit/lib/infrataster/resources/http_resource_spec.rb
infrataster-0.3.1 spec/unit/lib/infrataster/resources/http_resource_spec.rb
infrataster-0.3.0 spec/unit/lib/infrataster/resources/http_resource_spec.rb
infrataster-0.2.6 spec/unit/lib/infrataster/resources/http_resource_spec.rb
infrataster-0.2.5 spec/unit/lib/infrataster/resources/http_resource_spec.rb
infrataster-0.2.4 spec/unit/lib/infrataster/resources/http_resource_spec.rb
infrataster-0.2.3 spec/unit/lib/infrataster/resources/http_resource_spec.rb
infrataster-0.2.2 spec/unit/lib/infrataster/resources/http_resource_spec.rb
infrataster-0.2.1 spec/unit/lib/infrataster/resources/http_resource_spec.rb
infrataster-0.2.0 spec/unit/lib/infrataster/resources/http_resource_spec.rb
infrataster-0.2.0.beta1 spec/unit/lib/infrataster/resources/http_resource_spec.rb
infrataster-0.1.13 spec/unit/lib/infrataster/resources/http_resource_spec.rb
infrataster-0.1.12 spec/unit/lib/infrataster/resources/http_resource_spec.rb