]> git.openstreetmap.org Git - rails.git/blobdiff - test/controllers/user_controller_test.rb
User factory associations for all factories.
[rails.git] / test / controllers / user_controller_test.rb
index 686a860705802f4ba1aa325281243f2b6e6e18ca..87fb99a6f832b21b0e508b549a25fe72a534bd89 100644 (file)
@@ -1045,6 +1045,7 @@ class UserControllerTest < ActionController::TestCase
 
   def test_api_details
     create(:message, :read, :recipient => users(:normal_user))
+    create(:message, :sender => users(:normal_user))
 
     # check that nothing is returned when not logged in
     get :api_details