]> git.openstreetmap.org Git - rails.git/blobdiff - test/system/diary_entry_test.rb
Merge remote-tracking branch 'upstream/pull/5180'
[rails.git] / test / system / diary_entry_test.rb
index 290b94207acec68cedbc8eb86819cfa7dbccfc49..ba091c538465d8dcf6ac7471665d49516b7f925a 100644 (file)
@@ -13,7 +13,7 @@ class DiaryEntrySystemTest < ApplicationSystemTestCase
     sign_in_as(create(:user))
     visit diary_entries_path
 
     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
 
     assert_content "Send a new message"
     assert_equal "Re: #{@diary_entry.title}", page.find_field("Subject").value