Dee*_*kor 1 ruby rspec ruby-on-rails ruby-on-rails-4 codeship
After I run rspec in my Rails 4 project all the tests pass but I get:
Coverage (79.17%) is below the expected minimum coverage (80.00%).
Run Code Online (Sandbox Code Playgroud)
as the last line. This is causing Codeship to mark the build as failed and email me.
Is there anyway to disable this coverage test or change the minimum coverage percentage?
If you're using simplecov you can set the following in your spec helper:
SimpleCov.minimum_coverage 90
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
1073 次 |
| 最近记录: |