diff options
author | Ciro Santilli <ciro.santilli@gmail.com> | 2014-09-19 15:26:20 +0200 |
---|---|---|
committer | Ciro Santilli <ciro.santilli@gmail.com> | 2014-09-22 21:01:19 +0200 |
commit | 778afb699f08d6b8e7f1ac5e77e927f45e11f8be (patch) | |
tree | 24ffbfb9b166d5358fe44e252b6f4e4084d97be5 /features/steps/shared/diff_note.rb | |
parent | 248990b5e8e169d7c48adb539980a9db6cea4eca (diff) | |
download | gitlab-ce-778afb699f08d6b8e7f1ac5e77e927f45e11f8be.tar.gz |
Replace javascript:; links with buttons.
Diffstat (limited to 'features/steps/shared/diff_note.rb')
-rw-r--r-- | features/steps/shared/diff_note.rb | 4 |
1 files changed, 2 insertions, 2 deletions
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 |