added SimpleCov

This commit is contained in:
Sean Carroll 2017-10-09 16:23:51 +02:00
parent 6737b4238c
commit 69cf08cd65
3 changed files with 4 additions and 0 deletions

1
.gitignore vendored
View File

@ -2,3 +2,4 @@
.bundle
Gemfile.lock
pkg/*
coverage/*

View File

@ -51,4 +51,5 @@ end
group :test do
# TestUnit was removed from Ruby 2.2 but still needed for testing Rails 3.x.
gem 'test-unit', '~> 3.0' if RUBY_VERSION >= '2.2'
gem 'simplecov', :require => false
end

View File

@ -3,7 +3,9 @@ require 'sham'
require 'faker'
require 'ransack'
require 'pry'
require 'simplecov'
SimpleCov.start
I18n.enforce_available_locales = false
Time.zone = 'Eastern Time (US & Canada)'
I18n.load_path += Dir[File.join(File.dirname(__FILE__), 'support', '*.yml')]