From f2f76cc89621108eb4598d710b14dff39736e3e3 Mon Sep 17 00:00:00 2001 From: Matt Rohrer Date: Fri, 13 Sep 2024 10:36:22 +0200 Subject: [PATCH] Refine docs on running tests with specific Rails versions [ci skip] --- CONTRIBUTING.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index a5dfa5bf..0a29fe82 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -30,9 +30,13 @@ acceptance tests again, which will generate a new app. You can set the `RAILS_VERSION` environment variable: ``` -$ RAILS_VERSION="6.1" rake test:acceptance +$ RAILS_VERSION="7.1" bundle install +$ RAILS_VERSION="7.1" rake test:acceptance ``` +Note that only MAJOR.MINOR or `edge` are valid values for RAILS_VERSION as the +Gemfile appends a `.0` to the version. + The apps in `test/apps` will be named based on the rails version, and the Spring version.