]> git.openstreetmap.org Git - rails.git/blobdiff - test/models/friend_test.rb
Use node and relation_member factories for testing containing_relations and containin...
[rails.git] / test / models / friend_test.rb
index 9b0d34d41c2deb2461ef334288c71134f8d43bf7..08eeeeb17a3b3c7839245431a021469d1c7af962 100644 (file)
@@ -1,11 +1,10 @@
-require 'test_helper'
+require "test_helper"
 
 class FriendTest < ActiveSupport::TestCase
   api_fixtures
-  fixtures :friends
 
   def test_friend_count
+    create(:friend)
     assert_equal 1, Friend.count
   end
-
 end