Refactor some diary entry routes to use resources

This commit is contained in:
Andy Allan 2019-05-29 15:55:27 +02:00
parent b7893df84e
commit fbcd2bc10a
5 changed files with 12 additions and 10 deletions

View 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"