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