fix build

This commit is contained in:
Sam 2013-04-12 21:09:41 +10:00
parent 5551ef9418
commit 1725bf77a7
1 changed files with 5 additions and 6 deletions

View File

@ -23,7 +23,6 @@ describe PostAction do
it "sends an email to user if selected" do it "sends an email to user if selected" do
PostAction.stubs(:create) PostAction.stubs(:create)
PostAction.expects(:target_moderators).returns("bob")
PostCreator.any_instance.expects(:create).returns(nil) PostCreator.any_instance.expects(:create).returns(nil)
post = build(:post) post = build(:post)
post.user = build(:user) post.user = build(:user)