Class: ActiveSupport::TestCase
- Inherits:
-
Object
- Object
- ActiveSupport::TestCase
- Includes:
- DataMapper::TestFixtures
- Defined in:
- lib/dm-fixtures.rb
Overview
Follow ActiveRecord’s model, put this in a pre-run rake task, just like starting the server p DataMapper::Model.descendants.entries #TODO below doesn’t work because model classes aren’t required? => they are in rails init… DataMapper.auto_migrate! # Get the database set up
Method Summary
Methods included from DataMapper::TestFixtures
#enlist_fixture_connections, #run_in_transaction?, #setup_fixtures, #teardown_fixtures