From 78aa049502bb272bcd7a85b4c1dbbc8f58b7f565 Mon Sep 17 00:00:00 2001 From: Brenda Wallace Date: Sun, 22 Oct 2017 10:50:34 +1300 Subject: [PATCH] Fixed comment model spec --- spec/models/comment_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/models/comment_spec.rb b/spec/models/comment_spec.rb index 8128b0994..3eacf4c0d 100644 --- a/spec/models/comment_spec.rb +++ b/spec/models/comment_spec.rb @@ -27,7 +27,7 @@ describe Comment do @n = Notification.first @n.sender.should eq @c.author @n.recipient.should eq @c.post.author - @n.subject.should have_content 'commented on' + @n.subject.should include 'commented on' @n.body.should eq @c.body @n.post.should eq @c.post end