diff options
author | George Tsiolis <tsiolis.g@gmail.com> | 2018-10-19 14:35:33 +0300 |
---|---|---|
committer | Annabel Dunstone Gray <annabel.m.gray@gmail.com> | 2018-10-19 14:35:33 +0300 |
commit | 1af6ddffed5028b9e1f63e2d5760982a7b2ca473 (patch) | |
tree | 162d4ca9bf20993d99c692cf40b75c9d26d0069f /spec/features/issues/user_edits_issue_spec.rb | |
parent | cdfc2378e5e30ac87479ef839dbc20f3bdaf1af0 (diff) |
Change markdown header tab anchor links to buttons
Diffstat (limited to 'spec/features/issues/user_edits_issue_spec.rb')
-rw-r--r-- | spec/features/issues/user_edits_issue_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/features/issues/user_edits_issue_spec.rb b/spec/features/issues/user_edits_issue_spec.rb index 1d9c3abc20f..60b88ef4bdf 100644 --- a/spec/features/issues/user_edits_issue_spec.rb +++ b/spec/features/issues/user_edits_issue_spec.rb @@ -17,9 +17,9 @@ describe "User edits issue", :js do page.within(form) do fill_in("Description", with: "Bug fixed :smile:") - click_link("Preview") + click_button("Preview") end - expect(form).to have_link("Write") + expect(form).to have_button("Write") end end |