Skip to content

Commit

Permalink
update to latest simplecov API
Browse files Browse the repository at this point in the history
  • Loading branch information
doudou committed Feb 12, 2016
1 parent 08e084c commit ed7b62b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions flexmock.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ spec = Gem::Specification.new do |s|

s.add_development_dependency 'minitest'
s.add_development_dependency 'rake'
s.add_development_dependency 'simplecov', '>= 0.11.0'
s.add_development_dependency 'coveralls'

#### Which files are to be included in this gem? Everything! (Except CVS directories.)
Expand Down
8 changes: 4 additions & 4 deletions test/test_helper.rb
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
begin
require 'simplecov'
require 'coveralls'
SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[
SimpleCov::Formatter::HTMLFormatter,
Coveralls::SimpleCov::Formatter
]
SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter.new(
[SimpleCov::Formatter::HTMLFormatter,
Coveralls::SimpleCov::Formatter]
)
SimpleCov.start do
add_filter "/test/"
end
Expand Down

0 comments on commit ed7b62b

Please sign in to comment.