RS, IZ; webhooks spec should use user.post

This commit is contained in:
Raphael 2010-08-06 12:19:24 -07:00
parent 62e6ea0756
commit 5b14c4822c

View file

@ -40,6 +40,7 @@ describe Diaspora do
it "should send an owners post to their people" do
q = Post.send(:class_variable_get, :@@queue)
q.should_receive :process
@user.post :status_message, :message => "hi"
@post.save
end