Refactor some diary entry routes to use resources
This commit is contained in:
parent
b7893df84e
commit
fbcd2bc10a
5 changed files with 12 additions and 10 deletions
|
@ -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"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue