lib/submodules/ably-ruby/spec/spec_helper.rb in ably-rest-1.1.6 vs lib/submodules/ably-ruby/spec/spec_helper.rb in ably-rest-1.1.7

- old
+ new

@@ -3,11 +3,20 @@ def console(message) puts "\033[31m[#{Time.now.strftime('%H:%M:%S.%L')}]\033[0m \033[33m#{message}\033[0m" end unless RUBY_VERSION.match(/^1\./) - require 'coveralls' - Coveralls.wear! + require 'simplecov' + + SimpleCov.start do + require 'simplecov-lcov' + SimpleCov::Formatter::LcovFormatter.config do |c| + c.report_with_single_file = true + c.single_report_path = 'coverage/lcov.info' + end + formatter SimpleCov::Formatter::LcovFormatter + add_filter %w[vendor spec] + end end require 'webmock/rspec' require 'ably'