]> 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 b8eb5f66750e028a25940f5a03f18d362f761df5..6b6a51de553f554df76fc68ae305164ea504e084 100644 (file)
@@ -1,6 +1,6 @@
 require "application_system_test_case"
 
-class DiaryEntryTest < ApplicationSystemTestCase
+class DiaryEntrySystemTest < ApplicationSystemTestCase
   def setup
     create(:language, :code => "en")
     @diary_entry = create(:diary_entry)
@@ -8,7 +8,7 @@ class DiaryEntryTest < 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"