Sha256: 7a157e09e8a2416a60739bf5f79a804c175ea34a3464b64494b72d64163dbfad
Contents?: true
Size: 488 Bytes
Versions: 12
Compression:
Stored size: 488 Bytes
Contents
require 'spec_helper' describe BaseCRM::PipelinesService do describe 'Responds to' do subject { client.pipelines } it { should respond_to :all } it { should respond_to :where } end describe :all do it "returns a PaginatedResource" do expect(client.pipelines.all()).to be_instance_of BaseCRM::PaginatedResource end end describe :where do it "returns an array" do expect(client.pipelines.where(page: 1)).to be_an Array end end end
Version data entries
12 entries across 12 versions & 1 rubygems