From 64cf71ab4ff67af3c2500f629b40e7a9f3f55dbe Mon Sep 17 00:00:00 2001 From: Cjay Date: Thu, 2 Jul 2015 19:01:32 +0800 Subject: [PATCH] Fix test for comments --- spec/features/comments/commenting_a_comment_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/features/comments/commenting_a_comment_spec.rb b/spec/features/comments/commenting_a_comment_spec.rb index e5c83475d..e4f2fed21 100644 --- a/spec/features/comments/commenting_a_comment_spec.rb +++ b/spec/features/comments/commenting_a_comment_spec.rb @@ -13,7 +13,7 @@ feature 'Commenting on a post' do fill_in "comment_body", :with => "This is a sample test for comment" click_button "Post comment" expect(page).to have_content "Comment was successfully created" - expect(page).to have_content "Commented by" + expect(page).to have_content "Posted by" end context "editing a comment" do