Sha256: 538d6bd10fedfef040d929b254415eb06309519ce8b87a7111a4fcdc2676be9c
Contents?: true
Size: 552 Bytes
Versions: 6
Compression:
Stored size: 552 Bytes
Contents
require File.expand_path(File.dirname(__FILE__) + '/spec_helper') describe IdentityApiClient::Client do let(:options) { { :host => 'foo.bar.com', :api_token => 'abc123' }} subject { described_class.new(options) } it 'should respond to member' do expect(subject).to respond_to(:member) end context 'setup options ' do let(:config) { subject.connection.configuration } it 'should initialize the options' do expect(config.host).to eq 'foo.bar.com' expect(config.options[:api_token]).to eq 'abc123' end end end
Version data entries
6 entries across 6 versions & 1 rubygems