Skip to content
This repository has been archived by the owner on Oct 11, 2022. It is now read-only.

Commit

Permalink
Filters out object_instance_exec from coverage reports.
Browse files Browse the repository at this point in the history
  • Loading branch information
Henry Hsu committed Jun 26, 2013
1 parent 79b88e0 commit b233dbe
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/helper.rb
@@ -1,9 +1,9 @@
require 'bundler/setup'
require 'simplecov'
if ENV['COVERAGE']
SimpleCov.start
SimpleCov.command_name "Unit Tests (#{File.basename(ENV['BUNDLE_GEMFILE'])})"
end
SimpleCov.start do
add_filter "lib/call_center/core_ext/object_instance_exec.rb"
command_name "Unit Tests (#{File.basename(ENV['BUNDLE_GEMFILE'])})"
end if ENV['COVERAGE']
require 'test/unit'
require 'shoulda'
require 'mocha'
Expand Down

0 comments on commit b233dbe

Please sign in to comment.