Sha256: 9728287ad43d9325f8b056a7017905599ed231f45ec1e2ce686b76418a1352ea
Contents?: true
Size: 509 Bytes
Versions: 18
Compression:
Stored size: 509 Bytes
Contents
require 'spec_helper' describe Highrise::Company do subject { Highrise::Company.new(:id => 1) } it { should be_a_kind_of Highrise::Base } it_should_behave_like "a paginated class" it_should_behave_like "a taggable class" it_should_behave_like "a searchable class" it "#people" do Highrise::Person.should_receive(:find_all_across_pages).with(:from=>"/companies/1/people.xml").and_return("people") subject.people.should == "people" end it { subject.label.should == 'Party' } end
Version data entries
18 entries across 18 versions & 2 rubygems