spec/unit/intercom/company_spec.rb in intercom-4.2.0 vs spec/unit/intercom/company_spec.rb in intercom-4.2.1
- old
+ new
@@ -7,10 +7,10 @@
it "on find" do
client.expects(:get).with("/companies", {:company_id => "4"}).returns(nil)
_(proc { client.companies.find(:company_id => "4")}).must_raise Intercom::HttpError
end
- it "on find_all" do
+ it "on all" do
client.expects(:get).with("/companies", {}).returns(nil)
_(proc { client.companies.all.each {|company| }}).must_raise Intercom::HttpError
end
it "on load" do