Sha256: 1df5ae343a77f70d1c930309ac4a8b1482b2ad49ee075806d0271589429c7485

Contents?: true

Size: 411 Bytes

Versions: 10

Compression:

Stored size: 411 Bytes

Contents

require File.join(File.dirname(__FILE__), 'spec_helper')
require 'webmock/rspec'
require 'rdf/ntriples'
require 'rdf/spec/http_adapter'

context "HTTP Adapters" do
  before(:each) {WebMock.disable_net_connect!}
  after(:each) {WebMock.allow_net_connect!}

  context "using Net::HTTP" do
    it_behaves_like 'an RDF::HttpAdapter' do
      let(:http_adapter) { RDF::Util::File::NetHttpAdapter }
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
rdf-spec-3.3.0 spec/http_adapter_spec.rb
rdf-spec-3.2.0 spec/http_adapter_spec.rb
rdf-spec-3.1.2 spec/http_adapter_spec.rb
rdf-spec-3.1.1 spec/http_adapter_spec.rb
rdf-spec-3.1.0 spec/http_adapter_spec.rb
rdf-spec-3.0.0 spec/http_adapter_spec.rb
rdf-spec-2.2.0 spec/http_adapter_spec.rb
rdf-spec-2.2.0.pre.rc1 spec/http_adapter_spec.rb
rdf-spec-2.0.0 spec/http_adapter_spec.rb
rdf-spec-2.0.0.beta1 spec/http_adapter_spec.rb