Sha256: 2f7ac97ea4a269b4e60291928d36bbb07eac5217be75f70695fe0f2e7f0a984b
Contents?: true
Size: 826 Bytes
Versions: 28
Compression:
Stored size: 826 Bytes
Contents
require File.expand_path(File.dirname(__FILE__) + '/../spec_helper') describe Message do before do @entity1 = Factory(:user) @entity2 = Factory(:user) @receipt1 = @entity1.send_message(@entity2,"Body","Subject") @receipt2 = @entity2.reply_to_all(@receipt1,"Reply body 1") @receipt3 = @entity1.reply_to_all(@receipt2,"Reply body 2") @receipt4 = @entity2.reply_to_all(@receipt3,"Reply body 3") @message1 = @receipt1.notification @message4 = @receipt4.notification @conversation = @message1.conversation end it "should have right recipients" do @receipt1.notification.recipients.count.should==2 @receipt2.notification.recipients.count.should==2 @receipt3.notification.recipients.count.should==2 @receipt4.notification.recipients.count.should==2 end end
Version data entries
28 entries across 28 versions & 1 rubygems