Skip to content

Commit

Permalink
Documentation improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
JonRowe committed Sep 4, 2024
1 parent 38d2b51 commit ebe1ed2
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 11 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ expressed in plain English.

According to [RSpec Rails new versioning strategy][] use:
* **[`rspec-rails` 7.x][]** for Rails 7.x.
* **[`rspec-rails` 6.x][]** for Rails 6.1.
* **[`rspec-rails` 6.x][]** for Rails 6.1, 7.0 or 7.1.
* **[`rspec-rails` 5.x][]** for Rails 5.2 or 6.x.
* **[`rspec-rails` 4.x][]** for Rails from 5.x or 6.x.
* **[`rspec-rails` 3.x][]** for Rails earlier than 5.0.
Expand Down
19 changes: 9 additions & 10 deletions features/Generators.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Using generators

RSpec spec are normally generated alongside other application components.
For instance, `rails generate model` will also generate an RSpec spec file
RSpec `_spec.rb` files are normally generated alongside other application components.
For instance, `rails generate model` will also generate an RSpec `_spec.rb` file
for the model.

Note that the generators are there to help you get started, but they are no
Expand All @@ -18,17 +18,16 @@ will create a new spec file in `spec/models/widget_spec.rb`.

The same generator pattern is available for all specs:

* scaffold
* model
* channel
* controller
* helper
* view
* mailer
* integration
* feature
* job
* channel
* generator
* helper
* job
* mailbox
* mailer
* model
* request
* scaffold
* system
* view
File renamed without changes.

0 comments on commit ebe1ed2

Please sign in to comment.