Class: Shoulda::Generators::ScaffoldGenerator
- Inherits:
-
Base
- Object
- Rails::Generators::NamedBase
- Base
- Shoulda::Generators::ScaffoldGenerator
- Includes:
- Rails::Generators::ResourceHelpers
- Defined in:
- lib/generators/shoulda/scaffold/scaffold_generator.rb
Instance Method Summary collapse
Methods inherited from Base
Instance Method Details
#create_controller_file ⇒ Object
10 11 12 |
# File 'lib/generators/shoulda/scaffold/scaffold_generator.rb', line 10 def create_controller_file template 'scaffold.rb', File.join('test/functional', controller_class_path, "#{controller_file_name}_controller_test.rb") end |