Sha256: a138e7ef544a1144c03897d3c95729d486813c91c72fb8e7162240539d471359

Contents?: true

Size: 357 Bytes

Versions: 2

Compression:

Stored size: 357 Bytes

Contents

require 'spec_helper'

describe Wikidata do
  it 'should be configurable' do
    Wikidata.configure do |c|
      c.client_options = {
        request: {
          open_timeout: 10,
          timeout: 10
        }
      }
    end
    Wikidata.client_options.should eq({
      request: {
        open_timeout: 10,
        timeout: 10
      }
    })
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
wikidata-client-0.0.2 spec/wikidata_spec.rb
wikidata-client-0.0.1 spec/wikidata_spec.rb