Sha256: 64d1974d4064ff9e4cf2ad642018151a011f93fffa3aeaeae1f2cb075ad9d02b
Contents?: true
Size: 618 Bytes
Versions: 6
Compression:
Stored size: 618 Bytes
Contents
require 'spec_helper' RSpec.describe Chartmogul::Client do let(:client) { Chartmogul::Client.new } describe '#import' do subject { client.import } it { expect(subject).to be_a Chartmogul::V1::Import } it { expect(subject.client).to eq client } end describe '#customers' do subject { client.customers } it { expect(subject).to be_a Chartmogul::V1::Customers } it { expect(subject.client).to eq client } end describe '#userpwd' do let(:client) { Chartmogul::Client.new(account_token: 'foo', secret_key: 'bar') } it { expect(client.userpwd).to eq 'foo:bar' } end end
Version data entries
6 entries across 6 versions & 1 rubygems