]> git.openstreetmap.org Git - rails.git/blobdiff - test/system/diary_entry_test.rb
Refactor some diary entry routes to use resources
[rails.git] / test / system / diary_entry_test.rb
index 39ccc04b26be946f9689a1011b5b78ec0bb1f513..6b6a51de553f554df76fc68ae305164ea504e084 100644 (file)
@@ -8,7 +8,7 @@ class DiaryEntrySystemTest < ApplicationSystemTestCase
 
   test "reply to diary entry should prefill the message subject" do
     sign_in_as(create(:user))
-    visit diary_path
+    visit diary_entries_path
 
     click_on "Reply to this entry"