Move spec generator files, organize whitespace in generator output

This commit is contained in:
Greg Myers
2019-10-16 22:05:14 +01:00
parent 5ee880b769
commit 189a7ef061
6 changed files with 92 additions and 98 deletions

View File

@@ -0,0 +1,9 @@
Description:
This creates an RSpec request spec to define Swagger documentation for a
controller. It will create a test for each of the controller's methods.
Example:
rails generate rspec:swagger V3::AccountsController
This will create:
spec/requests/v3/accounts_spec.rb