ENV["RAILS_ENV"] = "test"
require File.expand_path(File.dirname(__FILE__) + "/../config/environment")
require 'test_help'
+load 'composite_primary_keys/fixtures.rb'
class Test::Unit::TestCase
# Transactional fixtures accelerate your tests by wrapping each test method
# Load standard fixtures needed to test API methods
def self.api_fixtures
- fixtures :users
+ fixtures :users, :changesets
fixtures :current_nodes, :nodes
set_fixture_class :current_nodes => :Node
set_fixture_class :nodes => :OldNode
+ fixtures :current_node_tags,:node_tags
+ set_fixture_class :current_node_tags => :NodeTag
+ set_fixture_class :node_tags => :OldNodeTag
+
fixtures :current_ways, :current_way_nodes, :current_way_tags
set_fixture_class :current_ways => :Way
set_fixture_class :current_way_nodes => :WayNode