Sha256: 5b2a6e76a1d3feeb24bdee5ffdbd693857a52cd0d0d2d6922de37638ecb3c560

Contents?: true

Size: 318 Bytes

Versions: 9

Compression:

Stored size: 318 Bytes

Contents

require 'spec_helper'

describe BaseCRM::AccountsService do
  describe 'Responds to' do
    subject { client.accounts  }

    it { should respond_to :self }
  end

  describe :self do
    it "returns instance of Account class" do
      expect(client.accounts.self).to be_instance_of BaseCRM::Account
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
basecrm-2.0.0 spec/services/accounts_service_spec.rb
basecrm-1.3.10 spec/services/accounts_service_spec.rb
basecrm-1.3.9 spec/services/accounts_service_spec.rb
basecrm-1.3.8 spec/services/accounts_service_spec.rb
basecrm-1.3.7 spec/services/accounts_service_spec.rb
basecrm-1.3.6 spec/services/accounts_service_spec.rb
basecrm-1.3.5 spec/services/accounts_service_spec.rb
basecrm-1.3.4 spec/services/accounts_service_spec.rb
basecrm-1.3.3 spec/services/accounts_service_spec.rb