From bc68083c1073b5a825155f72da9eebb97d8f23ae Mon Sep 17 00:00:00 2001 From: Matt Bernhardt Date: Fri, 3 Apr 2020 15:26:19 -0400 Subject: [PATCH] Slight adjustment to rails simplecov docs --- languages/rails.md | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/languages/rails.md b/languages/rails.md index 302b4b2..a306dd0 100644 --- a/languages/rails.md +++ b/languages/rails.md @@ -22,13 +22,21 @@ To use our standard setup, do the following: - Make a copy of [our template](https://raw.githubusercontent.com/MITLibraries/bento/master/.github/workflows/ci.yml), -to your repo in the path `.github/workflows/ci.yml` +to your repo in the path `.github/workflows/ci.yml`. Update the last line of +this file to match your repo at `path-to-lcov`. - Ensure you are using SimpleCov and have setup LCOV as a formatter. - Add `gem simplecov` and `gem simplecov-lcov` to your test group in your -`Gemfile`. +`Gemfile`: + +```ruby +gem 'simplecov', require: false +gem 'simplecov-lcov', require: false +``` + - `bundle install` + - Add the following to the very top of your `test/test_helper.rb` ```ruby