Skip to content

Commit f421912

Browse files
authored
Merge pull request #459 from coopdevs/add_simplecov
add SimpleCov
2 parents a48b03f + b7679e1 commit f421912

File tree

3 files changed

+11
-1
lines changed

3 files changed

+11
-1
lines changed

Gemfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ group :test do
6464
gem 'capybara', '~> 3.13'
6565
gem 'selenium-webdriver', '~> 3.141'
6666
gem 'chromedriver-helper', '~> 2.1'
67+
gem 'simplecov', '~> 0.16.1', require: false
6768
end
6869

6970
group :production do

Gemfile.lock

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,7 @@ GEM
122122
responders
123123
warden (~> 1.2.3)
124124
diff-lcs (1.3)
125+
docile (1.3.1)
125126
domain_name (0.5.20170223)
126127
unf (>= 0.0.5, < 1.0.0)
127128
dotenv (2.7.1)
@@ -349,6 +350,11 @@ GEM
349350
simple_form (3.1.0)
350351
actionpack (~> 4.0)
351352
activemodel (~> 4.0)
353+
simplecov (0.16.1)
354+
docile (~> 1.1)
355+
json (>= 1.8, < 3)
356+
simplecov-html (~> 0.10.0)
357+
simplecov-html (0.10.2)
352358
skylight (2.0.1)
353359
skylight-core (= 2.0.1)
354360
skylight-core (2.0.1)
@@ -442,6 +448,7 @@ DEPENDENCIES
442448
sidekiq (= 5.1.3)
443449
sidekiq-cron (= 0.6.3)
444450
simple_form (>= 3.0.0)
451+
simplecov (~> 0.16.1)
445452
skylight
446453
uglifier (= 2.7.2)
447454
unicorn

spec/spec_helper.rb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
# This file is copied to spec/ when you run 'rails generate rspec:install'
1+
require 'simplecov'
2+
SimpleCov.start 'rails'
3+
24
ENV["RAILS_ENV"] ||= 'test'
35
ENV["ADMINS"] = "[email protected]"
46

0 commit comments

Comments
 (0)