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