mirror of
https://github.com/discourse/discourse.git
synced 2025-03-24 13:45:35 +08:00
ok I should not be coding to a deadline ... grrr
This commit is contained in:
parent
86b317ea73
commit
5551ef9418
@ -27,7 +27,7 @@ describe PostAction do
|
||||
PostCreator.any_instance.expects(:create).returns(nil)
|
||||
post = build(:post)
|
||||
post.user = build(:user)
|
||||
PostAction.act(build(:user), build(:post), PostActionType.types[:notify_user], "this is my special message");
|
||||
PostAction.act(build(:user), post, PostActionType.types[:notify_user], "this is my special message");
|
||||
end
|
||||
end
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user