Skip to content

Commit

Permalink
Add Simplecov code coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
aalvrz committed Aug 3, 2016
1 parent 87b2936 commit 59b4815
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Expand Up @@ -18,3 +18,6 @@

# Ignore all public uploads
/public/upload/*

# Ignore simplecov coverage results
coverage
1 change: 1 addition & 0 deletions Gemfile
Expand Up @@ -56,4 +56,5 @@ group :test do
gem 'guard-rspec'
gem 'launchy'
gem 'database_cleaner', '~> 1.5'
gem 'simplecov', :require => false
end
7 changes: 7 additions & 0 deletions Gemfile.lock
Expand Up @@ -75,6 +75,7 @@ GEM
responders
warden (~> 1.2.3)
diff-lcs (1.2.5)
docile (1.1.5)
domain_name (0.5.20160615)
unf (>= 0.0.5, < 1.0.0)
erubis (2.7.0)
Expand Down Expand Up @@ -233,6 +234,11 @@ GEM
shellany (0.0.1)
shoulda-matchers (3.1.1)
activesupport (>= 4.0.0)
simplecov (0.12.0)
docile (~> 1.1.0)
json (>= 1.8, < 3)
simplecov-html (~> 0.10.0)
simplecov-html (0.10.0)
slop (3.6.0)
spring (1.7.1)
sprockets (3.6.2)
Expand Down Expand Up @@ -295,6 +301,7 @@ DEPENDENCIES
sdoc (~> 0.4.0)
select2-rails
shoulda-matchers (~> 3.1)
simplecov
spring
stripe
turbolinks
Expand Down
3 changes: 3 additions & 0 deletions spec/rails_helper.rb
@@ -1,3 +1,6 @@
require 'simplecov'
SimpleCov.start 'rails'

# This file is copied to spec/ when you run 'rails generate rspec:install'
ENV['RAILS_ENV'] ||= 'test'
require File.expand_path('../../config/environment', __FILE__)
Expand Down

0 comments on commit 59b4815

Please sign in to comment.