From ef933ae69bb48fd186c650927bff7d52a3956174 Mon Sep 17 00:00:00 2001
From: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Date: Sat, 24 May 2014 14:41:13 +0300
Subject: [PATCH] Even more tests fixed :)

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
---
 features/steps/shared/diff_note.rb | 2 +-
 features/steps/shared/note.rb      | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/features/steps/shared/diff_note.rb b/features/steps/shared/diff_note.rb
index f80d8d06475..f917d7bde08 100644
--- a/features/steps/shared/diff_note.rb
+++ b/features/steps/shared/diff_note.rb
@@ -138,7 +138,7 @@ module SharedDiffNote
 
   Then 'I should see the diff comment edit button' do
     within(".diff-file") do
-      page.should have_css(".js-note-edit-button", visible: true)
+      page.should have_css(".js-note-write-button", visible: true)
     end
   end
 
diff --git a/features/steps/shared/note.rb b/features/steps/shared/note.rb
index 36b81b74186..1c52d4c72d8 100644
--- a/features/steps/shared/note.rb
+++ b/features/steps/shared/note.rb
@@ -81,7 +81,7 @@ module SharedNote
 
   Then 'I should see the comment edit button' do
     within(".js-main-target-form") do
-      page.should have_css(".js-note-edit-button", visible: true)
+      page.should have_css(".js-note-write-button", visible: true)
     end
   end
 
-- 
GitLab