Sha256: 324fcc22de86ff2885f7b992df6d695ed57576d2ccecaace64532165142ebea3
Contents?: true
Size: 581 Bytes
Versions: 6
Compression:
Stored size: 581 Bytes
Contents
require File.dirname(__FILE__) + '/../spec_helper' require File.dirname(__FILE__) + '/../../lib/etsy4r' require File.dirname(__FILE__) + '/../../lib/etsy4r/client' describe Etsy4r::Client do include Etsy4rSpecHelper describe 'initialize' do before do @client = etsy4r_client end it 'sets the base_uri' do @client.class.base_uri.should == 'http://beta-api.etsy.com/v1' end it 'sets default params to include the api key' do @client.class.default_params.should == {:api_key => 'dacmw5zgq4x82z95ben5em6v'} end end end
Version data entries
6 entries across 6 versions & 1 rubygems