add coverage report, set COVERAGE=1 in env when running specs
This commit is contained in:
parent
7c65995b62
commit
ca50006235
4 changed files with 21 additions and 0 deletions
|
|
@ -1,5 +1,6 @@
|
|||
# This file is copied to spec/ when you run 'rails generate rspec:install'
|
||||
ENV["RAILS_ENV"] ||= 'test'
|
||||
require 'support/coverage' # needs to be first
|
||||
require File.expand_path("../../config/environment", __FILE__)
|
||||
require 'rspec/rails'
|
||||
require 'rspec/autorun'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue