]> git.openstreetmap.org Git - rails.git/blobdiff - test/functional/diary_entry_controller_test.rb
Fix AMF controller failing tests due to changed error messages.
[rails.git] / test / functional / diary_entry_controller_test.rb
index c0bd4b9ff144fb8034a72aa312024b77f791dda4..10fb908e84505b9299d5b8fb7b2e3622be6ae253 100644 (file)
@@ -117,7 +117,7 @@ class DiaryEntryControllerTest < ActionController::TestCase
     end
     
     # and when not logged in as the user who wrote the entry
-    get :view, {:id => diary_entries(:normal_user_entry_1).id, :display_name => 'test'}, {'user' => users(:second_user).id}
+    get :view, {:id => diary_entries(:normal_user_entry_1).id, :display_name => 'test'}, {'user' => users(:public_user).id}
     assert_response :success
     assert_template 'diary_entry/view'
     assert_select "html:root", :count => 1 do