class Rspec::Generators::ModelGenerator

def create_model_spec

def create_model_spec
  template_file = target_path(
    'models',
    class_path,
    "#{file_name}_spec.rb"
  )
  template 'model_spec.rb', template_file
end