]> 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 240e3f1484c6bbb076716343a0ab3ff1cd82989b..08eeeeb17a3b3c7839245431a021469d1c7af962 100644 (file)
@@ -1,10 +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