Sha256: ca4fa31575f4024744e0edc3e145aa549f5b981939c2dfafcb8ff8a2c865ccb0

Contents?: true

Size: 345 Bytes

Versions: 3

Compression:

Stored size: 345 Bytes

Contents

require 'spec_helper'

describe Gensee::Configurable do
  let(:uri) { 'http://www.example.com' }
  let(:login) { 'username' }
  let(:password) { 'password' }

  it '.configure' do
    Gensee.configure do |c|
      c.endpoint = uri
      c.login = login
      c.password = password
    end
    expect(Gensee.options).to be_kind_of Hash
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
gensee-0.1.2 spec/gensee/configurable_spec.rb
gensee-0.1.1 spec/gensee/configurable_spec.rb
gensee-0.1.0 spec/gensee/configurable_spec.rb