File tree Expand file tree Collapse file tree 3 files changed +10
-11
lines changed Expand file tree Collapse file tree 3 files changed +10
-11
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ expressed in plain English.
10
10
11
11
According to [ RSpec Rails new versioning strategy] [ ] use:
12
12
* ** [ ` rspec-rails ` 7.x] [ ] ** for Rails 7.x.
13
- * ** [ ` rspec-rails ` 6.x] [ ] ** for Rails 6.1.
13
+ * ** [ ` rspec-rails ` 6.x] [ ] ** for Rails 6.1, 7.0 or 7.1 .
14
14
* ** [ ` rspec-rails ` 5.x] [ ] ** for Rails 5.2 or 6.x.
15
15
* ** [ ` rspec-rails ` 4.x] [ ] ** for Rails from 5.x or 6.x.
16
16
* ** [ ` rspec-rails ` 3.x] [ ] ** for Rails earlier than 5.0.
Original file line number Diff line number Diff line change 1
1
# Using generators
2
2
3
- RSpec spec are normally generated alongside other application components.
4
- For instance, ` rails generate model ` will also generate an RSpec spec file
3
+ RSpec ` _spec.rb ` files are normally generated alongside other application components.
4
+ For instance, ` rails generate model ` will also generate an RSpec ` _spec.rb ` file
5
5
for the model.
6
6
7
7
Note that the generators are there to help you get started, but they are no
@@ -18,17 +18,16 @@ will create a new spec file in `spec/models/widget_spec.rb`.
18
18
19
19
The same generator pattern is available for all specs:
20
20
21
- * scaffold
22
- * model
21
+ * channel
23
22
* controller
24
- * helper
25
- * view
26
- * mailer
27
- * integration
28
23
* feature
29
- * job
30
- * channel
31
24
* generator
25
+ * helper
26
+ * job
32
27
* mailbox
28
+ * mailer
29
+ * model
33
30
* request
31
+ * scaffold
34
32
* system
33
+ * view
File renamed without changes.
You can’t perform that action at this time.
0 commit comments