Add simplecov gem

This commit is contained in:
rebuilt 2022-01-31 16:04:43 +01:00
parent f30f359406
commit 5c2b81c846
4 changed files with 14 additions and 1 deletions

1
.gitignore vendored
View file

@ -41,3 +41,4 @@ config/local_env.yml
/app/assets/builds/*
!/app/assets/builds/.keep
public/assets/
coverage

View file

@ -66,11 +66,11 @@ group :development do
# Access an IRB console on exception pages or by using <%= console %> anywhere in the code.
gem 'listen', '~> 3.0.5'
gem 'web-console'
# Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
gem 'bullet'
gem 'nested_scaffold'
gem 'rubocop', require: false
gem 'seed_dump'
# Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
gem 'spring'
end
@ -81,6 +81,7 @@ group 'test' do
gem 'launchy'
gem 'rails-controller-testing'
gem 'rspec-rails', '~> 4.1.2'
gem 'simplecov', require: false
gem 'timecop'
end

View file

@ -116,6 +116,7 @@ GEM
warden (~> 1.2.3)
diff-lcs (1.5.0)
digest (3.1.0)
docile (1.4.0)
erubi (1.10.0)
execjs (2.8.1)
factory_bot (6.2.0)
@ -274,6 +275,12 @@ GEM
seed_dump (3.3.1)
activerecord (>= 4)
activesupport (>= 4)
simplecov (0.21.2)
docile (~> 1.1)
simplecov-html (~> 0.11)
simplecov_json_formatter (~> 0.1)
simplecov-html (0.12.3)
simplecov_json_formatter (0.1.3)
spring (4.0.0)
sprockets (4.0.2)
concurrent-ruby (~> 1.0)
@ -348,6 +355,7 @@ DEPENDENCIES
rspec-rails (~> 4.1.2)
rubocop
seed_dump
simplecov
spring
sprockets-rails
timecop

View file

@ -1,3 +1,6 @@
require 'simplecov'
SimpleCov.start
require 'capybara/rspec'
require 'capybara/apparition'
# This file was generated by the `rails generate rspec:install` command. Conventionally, all