Browse files

EventQueue should accept a pushed array.

  • Loading branch information...
1 parent 984fa4e commit a9dbd109dd9f75eba85e7f4888731239ef5ae682 @jacius jacius committed Aug 1, 2008
Showing with 5 additions and 0 deletions.
  1. +5 −0 spec/event_queue_spec.rb
View
5 spec/event_queue_spec.rb
@@ -110,6 +110,11 @@
@queue.to_ary.should == [:foo, :bar, :baz]
end
+ it "should accept a pushed array" do
+ @queue.push( [:foo, :bar] )
+ @queue.to_ary.should == [:foo, :bar]
+ end
+
it "should accept posts" do
@queue.post( :foo )
@queue.to_ary.should == [:foo]

0 comments on commit a9dbd10

Please sign in to comment.