]> git.openstreetmap.org Git - rails.git/blobdiff - test/unit/relation_member_test.rb
Refactor out 'globals' from more functions
[rails.git] / test / unit / relation_member_test.rb
index d67ac3462cb47eb90b4f52bc6c29212d451bf4fc..b4f817b05c3bd585f89f93de33ad9e9073247dcc 100644 (file)
@@ -1,11 +1,10 @@
 require File.dirname(__FILE__) + '/../test_helper'
 
 require File.dirname(__FILE__) + '/../test_helper'
 
-class RelationMemberTest < Test::Unit::TestCase
-  fixtures :current_relation_members
-  set_fixture_class :current_relation_members => RelationMember
+class RelationMemberTest < ActiveSupport::TestCase
+  api_fixtures
   
   def test_relation_member_count
   
   def test_relation_member_count
-    assert_equal 5, RelationMember.count
+    assert_equal 6, RelationMember.count
   end
   
 end
   end
   
 end