Fixing some of the tests, adding the new tests to make sure that you can't edit when...
[rails.git] / test / unit / old_way_tag_test.rb
index 8210ef0c4123d13817ea77c60d04ecf93f61409f..b2724cb0139c9cf22046ecc3b3e33d2e441b8644 100644 (file)
@@ -1,8 +1,7 @@
 require File.dirname(__FILE__) + '/../test_helper'
 
 class WayTagTest < Test::Unit::TestCase
 require File.dirname(__FILE__) + '/../test_helper'
 
 class WayTagTest < Test::Unit::TestCase
-  fixtures :way_tags
-  set_fixture_class :way_tags => OldWayTag
+  api_fixtures
   
   def test_tag_count
     assert_equal 3, OldWayTag.count
   
   def test_tag_count
     assert_equal 3, OldWayTag.count