Sha256: 98434705de0243c1b20b58473895330fe01c74c42256f8a3b196cb46d8c1a697
Contents?: true
Size: 514 Bytes
Versions: 3
Compression:
Stored size: 514 Bytes
Contents
require File.expand_path(File.dirname(__FILE__) + '/spec_helper') describe TijuanaClient::Client do specify { expect(subject).to respond_to :user } describe "instantiated" do subject { described_class.new(options) } context 'process_basic_auth' do let(:options) { { :basic_auth => 'login:password' } } let(:config) { subject.connection.configuration } specify { expect(config.username).to eq 'login' } specify { expect(config.password).to eq 'password' } end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
tijuana_client-0.2.4 | spec/client_spec.rb |
tijuana_client-0.2.3 | spec/client_spec.rb |
tijuana_client-0.2.2 | spec/client_spec.rb |