Skip to content

Commit

Permalink
Merge pull request #459 from coopdevs/add_simplecov
Browse files Browse the repository at this point in the history
add SimpleCov
  • Loading branch information
enricostano authored Mar 13, 2019
2 parents a48b03f + b7679e1 commit f421912
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ group :test do
gem 'capybara', '~> 3.13'
gem 'selenium-webdriver', '~> 3.141'
gem 'chromedriver-helper', '~> 2.1'
gem 'simplecov', '~> 0.16.1', require: false
end

group :production do
Expand Down
7 changes: 7 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ GEM
responders
warden (~> 1.2.3)
diff-lcs (1.3)
docile (1.3.1)
domain_name (0.5.20170223)
unf (>= 0.0.5, < 1.0.0)
dotenv (2.7.1)
Expand Down Expand Up @@ -349,6 +350,11 @@ GEM
simple_form (3.1.0)
actionpack (~> 4.0)
activemodel (~> 4.0)
simplecov (0.16.1)
docile (~> 1.1)
json (>= 1.8, < 3)
simplecov-html (~> 0.10.0)
simplecov-html (0.10.2)
skylight (2.0.1)
skylight-core (= 2.0.1)
skylight-core (2.0.1)
Expand Down Expand Up @@ -442,6 +448,7 @@ DEPENDENCIES
sidekiq (= 5.1.3)
sidekiq-cron (= 0.6.3)
simple_form (>= 3.0.0)
simplecov (~> 0.16.1)
skylight
uglifier (= 2.7.2)
unicorn
Expand Down
4 changes: 3 additions & 1 deletion spec/spec_helper.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# This file is copied to spec/ when you run 'rails generate rspec:install'
require 'simplecov'
SimpleCov.start 'rails'

ENV["RAILS_ENV"] ||= 'test'
ENV["ADMINS"] = "[email protected]"

Expand Down

0 comments on commit f421912

Please sign in to comment.