List of RSpec's generators
rspec, ruby-on-rails
Solution
- controller
- helper
- install
- integration
- mailer
- model
- observer
- scaffold
- view
example usage:
rails g rspec:integration events
--> create spec/requests/events_spec.rb
Problem
I'm looking for a comprehensive list of RSpec's generators to easily generate specs for controllers, models, helpers, and so on. The only one I've found is: rails g integration_test name that saves a spec inside the spec/requests folder.