class Fabricators::Generators::ModelGenerator

Public Instance Methods

create_fixture_file() click to toggle source
# File lib/generators/fabricators/model/model_generator.rb, line 9
def create_fixture_file
  template 'fabricator.rb', Fabricators.path.join("#{table_name}.rb")
end