spec/adhearsion/calls_spec.rb in adhearsion-2.0.0.alpha2 vs spec/adhearsion/calls_spec.rb in adhearsion-2.0.0.alpha3

- old
+ new

@@ -45,7 +45,14 @@ tagged_call = calls.last tagged_call.tag :moderator subject.with_tag(:moderator).should == [tagged_call] end + + describe "#<<" do + it "should allow chaining" do + subject << Call.new(new_offer) << Call.new(new_offer) + subject.size.should == 2 + end + end end end