Sha256: c90c58a1188758bba4db2aa56ce1ccb77a70309d2debc164b9fd8376908ea13d
Contents?: true
Size: 374 Bytes
Versions: 11
Compression:
Stored size: 374 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(: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
11 entries across 11 versions & 1 rubygems