Class: Rspec::Generators::IntegrationGenerator
- Inherits:
-
Base
- Object
- Base
- Rspec::Generators::IntegrationGenerator
- Defined in:
- lib/generators/saki/integration_generator.rb
Instance Method Summary collapse
Instance Method Details
#create_integration_file ⇒ Object
10 11 12 13 |
# File 'lib/generators/saki/integration_generator.rb', line 10 def create_integration_file template 'full_integration_spec.rb', File.join('spec/acceptance', class_path, "#{table_name}_spec.rb") end |
#resource_name ⇒ Object
14 15 16 |
# File 'lib/generators/saki/integration_generator.rb', line 14 def resource_name file_name.tableize.singularize end |