Skip to content

Commit f2f76cc

Browse files
committed
Refine docs on running tests with specific Rails versions [ci skip]
1 parent eefc42d commit f2f76cc

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

CONTRIBUTING.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,13 @@ acceptance tests again, which will generate a new app.
3030
You can set the `RAILS_VERSION` environment variable:
3131

3232
```
33-
$ RAILS_VERSION="6.1" rake test:acceptance
33+
$ RAILS_VERSION="7.1" bundle install
34+
$ RAILS_VERSION="7.1" rake test:acceptance
3435
```
3536

37+
Note that only MAJOR.MINOR or `edge` are valid values for RAILS_VERSION as the
38+
Gemfile appends a `.0` to the version.
39+
3640
The apps in `test/apps` will be named based on the rails version, and the
3741
Spring version.
3842

0 commit comments

Comments
 (0)