X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/f73b7205f42ac690ee659f4a92d86a56138a7ea2..1c2a7b0a077d97a88bc0f058874ac0595e9d6958:/test/system/diary_entry_test.rb?ds=sidebyside

diff --git a/test/system/diary_entry_test.rb b/test/system/diary_entry_test.rb
index 290b94207..ba091c538 100644
--- a/test/system/diary_entry_test.rb
+++ b/test/system/diary_entry_test.rb
@@ -13,7 +13,7 @@ class DiaryEntrySystemTest < ApplicationSystemTestCase
     sign_in_as(create(:user))
     visit diary_entries_path
 
-    click_link "Send a message to the author"
+    click_on "Send a message to the author"
 
     assert_content "Send a new message"
     assert_equal "Re: #{@diary_entry.title}", page.find_field("Subject").value