Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Configure simplecov to ignore spec folder
Reduce noise in code coverage output.  All spec files are run 100% in
the test suite.  This lowers the overall code coverage number...sorry :D
  • Loading branch information
eric-hu committed Aug 3, 2015
commit 90b7c529482e7a1a8ed5df38a8b4ea9b23d8bc72
4 changes: 3 additions & 1 deletion spec/spec_helper.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
# SimpleCov is ..rcov for 1.9+
# https://github.com/colszowka/simplecov
require 'simplecov'
SimpleCov.start
SimpleCov.start do
add_filter "/spec/"
end

# This file is copied to spec/ when you run 'rails generate rspec:install'
ENV["RAILS_ENV"] ||= 'test'
Expand Down