require "application_system_test_case"
-class DiaryEntryTest < ApplicationSystemTestCase
+class DiaryEntrySystemTest < ApplicationSystemTestCase
def setup
create(:language, :code => "en")
@diary_entry = create(:diary_entry)
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"