From 5551ef94180baad0b0c471d739b3433a0260b41d Mon Sep 17 00:00:00 2001 From: Sam Date: Fri, 12 Apr 2013 18:15:19 +1000 Subject: [PATCH] ok I should not be coding to a deadline ... grrr --- spec/models/post_action_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/models/post_action_spec.rb b/spec/models/post_action_spec.rb index bb55eaffc1b..93b3ba37b4b 100644 --- a/spec/models/post_action_spec.rb +++ b/spec/models/post_action_spec.rb @@ -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