Class: Rspec::Generators::DataMigrationGenerator
- Inherits:
-
Rails::Generators::NamedBase
- Object
- Rails::Generators::NamedBase
- Rspec::Generators::DataMigrationGenerator
- Includes:
- MonarchMigrate::Migration::Lookup
- Defined in:
- lib/generators/rspec/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 ⇒ Object
11 12 13 14 15 |
# File 'lib/generators/rspec/data_migration_generator.rb', line 11 def create_data_migration_test if spec_file_name template("data_migration_spec.rb.erb", File.join(destination_dir, spec_file_name)) end end |