Class: FactoryGirl::Generators::ModelGenerator

Inherits:
Base
  • Object
show all
Defined in:
lib/generators/factory_girl/model/model_generator.rb

Instance Method Summary collapse

Methods inherited from Base

source_root

Instance Method Details

#create_fixture_fileObject



9
10
11
# File 'lib/generators/factory_girl/model/model_generator.rb', line 9

def create_fixture_file
  template 'fixtures.rb', File.join(options[:dir], "#{table_name}.rb")
end