Class: TestUnit::Generators::DataMigrationGenerator
- Inherits:
-
Rails::Generators::NamedBase
- Object
- Rails::Generators::NamedBase
- TestUnit::Generators::DataMigrationGenerator
- Includes:
- MonarchMigrate::Migration::Lookup
- Defined in:
- lib/generators/test_unit/data_migration_generator.rb
Instance Method Summary collapse
Methods included from MonarchMigrate::Migration::Lookup
#migration_exists?, #migration_lookup_at
Instance Method Details
#create_data_migration_test_file ⇒ Object
13 14 15 16 17 |
# File 'lib/generators/test_unit/data_migration_generator.rb', line 13 def create_data_migration_test_file if test_file_name template "unit_test.rb.erb", File.join(destination_dir, test_file_name) end end |