spec/courier/service/facebook_spec.rb in courier-0.1.2 vs spec/courier/service/facebook_spec.rb in courier-0.1.3

- old
+ new

@@ -13,10 +13,10 @@ graph = double graph.should_receive(:put_wall_post). with(message.options[:text], message.options[:attachment], message.options[:to]) { true } Koala::Facebook::GraphAPI.should_receive(:new).with('fbtoken') { graph } - subject.stub_chain('courier_messages.fresh') { [message] } - subject.deliver! + subject.stub_chain('messages.fresh') { [message] } + subject.deliver_all! end end end