fix build
This commit is contained in:
parent
5551ef9418
commit
1725bf77a7
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue