Skip to content

Commit

Permalink
Fix SimpleCov deprecation message
Browse files Browse the repository at this point in the history
This avoids the following deprecation message:

```
test/test_helper.rb:8:in `<top (required)>': [DEPRECATION] ::[] is
deprecated. Use ::new instead.
```
  • Loading branch information
deepj committed Feb 21, 2016
1 parent 9fb7bcf commit aa0854f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/test_helper.rb
Expand Up @@ -5,10 +5,10 @@
require 'simplecov'
require 'coveralls'

SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter.new([
SimpleCov.formatters = [
SimpleCov::Formatter::HTMLFormatter,
Coveralls::SimpleCov::Formatter
])
]

SimpleCov.start do
command_name 'test'
Expand Down

0 comments on commit aa0854f

Please sign in to comment.