Sha256: c1bef6660931c01736c51d9054181150b99a8d30f23efa0e94a587e6839618f6
Contents?: true
Size: 452 Bytes
Versions: 1
Compression:
Stored size: 452 Bytes
Contents
describe Postmates do describe '.new' do it 'returns a Postmates::Client' do expect(Postmates.new).to be_a Postmates::Client end end describe '.configure' do it 'sets the api_key and customer_id' do Postmates.configure do |config| config.api_key = '1234' config.customer_id = 'abcd' end expect(Postmates.api_key).to eq '1234' expect(Postmates.customer_id).to eq 'abcd' end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
postmates-0.1.0 | spec/postmates_spec.rb |