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