]> git.openstreetmap.org Git - rails.git/blobdiff - test/models/friend_test.rb
User factory for uniqueness tests
[rails.git] / test / models / friend_test.rb
index c9f671e7ec4c338d8f997b0678a2cdd03112aaa1..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