Class: Shoulda::Generators::ModelGenerator
- Inherits:
-
Base
- Object
- Rails::Generators::NamedBase
- Base
- Shoulda::Generators::ModelGenerator
- Defined in:
- lib/generators/shoulda/model/model_generator.rb
Instance Method Summary collapse
Methods inherited from Base
Instance Method Details
#create_model_test_file ⇒ Object
9 10 11 |
# File 'lib/generators/shoulda/model/model_generator.rb', line 9 def create_model_test_file template 'model.rb', File.join([:dir], "#{singular_name}_test.rb") end |