File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -4,8 +4,10 @@ routing.
4
4
5
5
## Rails
6
6
7
- rspec-rails 4 supports Rails 5.x and 6.x. For earlier versions of Rails, you
8
- need [ rspec-rails 3] ( https://github.com/rspec/rspec-rails/tree/3-9-maintenance ) .
7
+ rspec-rails 5 supports Rails 5.2 to 6.1. For earlier versions of Rails, you
8
+ should use [ rspec-rails-4] ( https://github.com/rspec/rspec-rails/tree/4-1-maintenance )
9
+ for Rails 5.x and [ rspec-rails 3] ( https://github.com/rspec/rspec-rails/tree/3-9-maintenance )
10
+ for even older versions.
9
11
10
12
## Install
11
13
@@ -24,7 +26,7 @@ This installs the following gems:
24
26
Add rspec-rails to the : test and : development groups in the Gemfile:
25
27
26
28
group :test, :development do
27
- gem 'rspec-rails', '~> 4 .0.0'
29
+ gem 'rspec-rails', '~> 5 .0.0'
28
30
end
29
31
30
32
It needs to be in the : development group to expose generators and rake tasks
You can’t perform that action at this time.
0 commit comments