From 778afb699f08d6b8e7f1ac5e77e927f45e11f8be Mon Sep 17 00:00:00 2001 From: Ciro Santilli Date: Fri, 19 Sep 2014 15:26:20 +0200 Subject: Replace javascript:; links with buttons. --- features/steps/shared/diff_note.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'features/steps/shared/diff_note.rb') diff --git a/features/steps/shared/diff_note.rb b/features/steps/shared/diff_note.rb index 7d017669b7c..10f3ed90b56 100644 --- a/features/steps/shared/diff_note.rb +++ b/features/steps/shared/diff_note.rb @@ -103,7 +103,7 @@ module SharedDiffNote step 'I should see a discussion reply button' do within(diff_file_selector) do - page.should have_link("Reply") + page.should have_button('Reply') end end @@ -160,6 +160,6 @@ module SharedDiffNote end def click_diff_line(code) - find("a[data-line-code='#{code}']").click + find("button[data-line-code='#{code}']").click end end -- cgit v1.2.1