Sha256: b12822e7b5ca46e6508c3517a63d12627a8a704beba24d17311af039fdbd0d1d
Contents?: true
Size: 502 Bytes
Versions: 4
Compression:
Stored size: 502 Bytes
Contents
require File.expand_path(File.dirname(__FILE__) + '/spec_helper') describe TijuanaClient::Client do specify { subject.should 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 { config.username.should eq 'login' } specify { config.password.should eq 'password' } end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
tijuana_client-0.2.1 | spec/client_spec.rb |
tijuana_client-0.2.0 | spec/client_spec.rb |
tijuana_client-0.1.1 | spec/client_spec.rb |
tijuana_client-0.1.0 | spec/client_spec.rb |