Add simplecov
This commit is contained in:
parent
5e0319f646
commit
8b4ecc2a2e
|
@ -12,5 +12,6 @@
|
|||
/db/*.sqlite3
|
||||
|
||||
# Ignore all logfiles and tempfiles.
|
||||
/coverage
|
||||
/log/*.log
|
||||
/tmp
|
||||
|
|
|
@ -39,6 +39,7 @@ end
|
|||
|
||||
group :test do
|
||||
gem 'cucumber-rails'
|
||||
gem 'simplecov'
|
||||
end
|
||||
|
||||
gem 'jquery-rails'
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
# This file is copied to spec/ when you run 'rails generate rspec:install'
|
||||
ENV["RAILS_ENV"] ||= 'test'
|
||||
require 'simplecov'
|
||||
SimpleCov.start 'rails'
|
||||
require File.expand_path("../../config/environment", __FILE__)
|
||||
require 'rspec/rails'
|
||||
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
ENV["RAILS_ENV"] = "test"
|
||||
require 'simplecov'
|
||||
SimpleCov.start 'rails'
|
||||
require File.expand_path('../../config/environment', __FILE__)
|
||||
require 'rails/test_help'
|
||||
|
||||
|
|
Loading…
Reference in New Issue