diff options
| author | Zack Hobson | 2013-12-09 16:22:06 -0800 | 
|---|---|---|
| committer | Zack Hobson | 2013-12-09 16:22:06 -0800 | 
| commit | 7338cf08d8b463ba165050fa741a2a49916e57e4 (patch) | |
| tree | 8f5d1c97c7ef8e9c98a95ecb9c24a45fb1b018df /test | |
| parent | 430657887bf2141faf7d6224aeea503cc34addb2 (diff) | |
| download | hcl-7338cf08d8b463ba165050fa741a2a49916e57e4.tar.bz2 | |
tighter coverage checking
Diffstat (limited to 'test')
| -rw-r--r-- | test/test_helper.rb | 4 | 
1 files changed, 3 insertions, 1 deletions
| diff --git a/test/test_helper.rb b/test/test_helper.rb index 60567e0..f0d9bc2 100644 --- a/test/test_helper.rb +++ b/test/test_helper.rb @@ -8,7 +8,9 @@ begin      add_filter do |source_file|        source_file.lines.count < 15      end -    minimum_coverage 70 +    # MRI and JRuby report ~74%, Rubinius reports ~85% +    # (source: https://travis-ci.org/zenhob/hcl) +    minimum_coverage case RUBY_ENGINE when "rbx" then 84 else 74 end    end  rescue LoadError => e    $stderr.puts 'No test coverage tools found, skipping coverage check.' | 
