Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fixed rcov configuration so he ignores library files on Linux

Signed-off-by: Jake Scruggs <jake.scruggs@gmail.com>
  • Loading branch information...
commit 4384319862a0395d089302c0994af47719daec9a 1 parent a89c9a6
Diego Carrion dcrec1 authored jscruggs committed
Showing with 3 additions and 3 deletions.
  1. +1 −1  lib/base/configuration.rb
  2. +2 −2 spec/base/configuration_spec.rb
2  lib/base/configuration.rb
View
@@ -146,7 +146,7 @@ def reset
"--no-color",
"--profile",
"--rails",
- "--exclude /gems/,/Library/,spec"]}
+ "--exclude /gems/,/Library/,/usr/,spec"]}
end
# Perform a simple check to try and guess if we're running
4 spec/base/configuration_spec.rb
View
@@ -170,7 +170,7 @@ def get_new_config_and_raise_runtime_error
"--no-color",
"--profile",
"--rails",
- "--exclude /gems/,/Library/,spec"]}' do
+ "--exclude /gems/,/Library/,/usr/,spec"]}' do
@config.instance_variable_get(:@rcov).
should == { :test_files => ['test/**/*_test.rb',
'spec/**/*_spec.rb'],
@@ -180,7 +180,7 @@ def get_new_config_and_raise_runtime_error
"--no-color",
"--profile",
"--rails",
- "--exclude /gems/,/Library/,spec"]}
+ "--exclude /gems/,/Library/,/usr/,spec"]}
end
it 'should set @saikuro to { :output_directory => @scratch_directory + "/saikuro",
Please sign in to comment.
Something went wrong with that request. Please try again.