Sha256: b196e84da541c669cfdce1c2c0747fe4edabb20aeef62f7c4f5ad1cc4fd16b74
Contents?: true
Size: 380 Bytes
Versions: 8
Compression:
Stored size: 380 Bytes
Contents
require 'spec_helper' describe Highrise::Email do it { should be_a_kind_of Highrise::Base } it_should_behave_like "a paginated class" it "#comments" do subject.should_receive(:email_id).and_return(1) Highrise::Comment.should_receive(:find).with(:all, {:from=>"/emails/1/comments.xml"}).and_return("comments") subject.comments.should == "comments" end end
Version data entries
8 entries across 8 versions & 2 rubygems