Skip to content
This repository was archived by the owner on Nov 30, 2024. It is now read-only.

Commit 5a6c9aa

Browse files
authored
Merge pull request #481 from rspec/fix-simplecov-source-file-filter
Fix simplecov source file filter
2 parents 627e816 + 935d0cb commit 5a6c9aa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/rspec/support/spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,8 @@ def self.setup_simplecov(&block)
6464

6565
def self.start_simplecov(&block)
6666
SimpleCov.start do
67-
add_filter "./bundle/"
68-
add_filter "./tmp/"
67+
add_filter "bundle/"
68+
add_filter "tmp/"
6969
add_filter do |source_file|
7070
# Filter out `spec` directory except when it is under `lib`
7171
# (as is the case in rspec-support)

0 commit comments

Comments
 (0)