Sha256: ec88482f14221d5a8fbc7d6b9b0840c5dac7b938e0d3be09d257456821145267

Contents?: true

Size: 311 Bytes

Versions: 2

Compression:

Stored size: 311 Bytes

Contents

require 'spec_helper'

describe Wikidata do
  let(:options) do
    { request: { timeout: 10 } }
  end
  it 'should be configurable' do
    Wikidata.configure do |c|
      c.options = options
      c.adapter = :excon
    end
    Wikidata.options.should be options
    Wikidata.adapter.should be :excon
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
wikidata-client-0.1.0 spec/wikidata_spec.rb
wikidata-client-0.1.0.pre.rc1 spec/wikidata_spec.rb