Sha256: bb72408704a32d1dd6360f4e34ce59386daa3f251c00a9cfca16de23a0d20e26
Contents?: true
Size: 458 Bytes
Versions: 9
Compression:
Stored size: 458 Bytes
Contents
require File.expand_path(File.dirname(__FILE__) + '/spec_helper') describe AgraApi::Client do 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
9 entries across 9 versions & 1 rubygems