Skip to content

Commit b6b6085

Browse files
committed
add simplecov
1 parent e6ef119 commit b6b6085

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', '~> 2.7'
6565
gem 'capybara-selenium', '~> 0.0.6'
6666
gem 'chromedriver-helper', '~> 1.0'
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
@@ -124,6 +124,7 @@ GEM
124124
responders
125125
warden (~> 1.2.3)
126126
diff-lcs (1.3)
127+
docile (1.3.1)
127128
domain_name (0.5.20170223)
128129
unf (>= 0.0.5, < 1.0.0)
129130
dotenv (2.5.0)
@@ -350,6 +351,11 @@ GEM
350351
simple_form (3.1.0)
351352
actionpack (~> 4.0)
352353
activemodel (~> 4.0)
354+
simplecov (0.16.1)
355+
docile (~> 1.1)
356+
json (>= 1.8, < 3)
357+
simplecov-html (~> 0.10.0)
358+
simplecov-html (0.10.2)
353359
skylight (2.0.1)
354360
skylight-core (= 2.0.1)
355361
skylight-core (2.0.1)
@@ -443,6 +449,7 @@ DEPENDENCIES
443449
sidekiq (= 5.1.3)
444450
sidekiq-cron (= 0.6.3)
445451
simple_form (>= 3.0.0)
452+
simplecov (~> 0.16.1)
446453
skylight
447454
uglifier (= 2.7.2)
448455
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"] = "admin@timeoverflow.org"
46

0 commit comments

Comments
 (0)