class Rspec::Generators::ModelGenerator

def create_fixture_file

def create_fixture_file
  if options[:fixture] && options[:fixture_replacement].nil?
    template 'fixtures.yml', File.join('spec/fixtures', "#{table_name}.yml")
  end
end

def create_test_file

def create_test_file
  template 'model_spec.rb', File.join('spec/models', class_path, "#{file_name}_spec.rb")
end