From e35a461acb9b0f73d3da8435c93addd1bda056e3 Mon Sep 17 00:00:00 2001 From: Pavel Tikhomirov Date: Sat, 2 Jun 2018 01:18:51 +0300 Subject: [PATCH] This adds the lib directory and other code for the code coverage report --- spec/spec_helper.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 46894ad..9e86231 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -1,16 +1,16 @@ $LOAD_PATH.unshift File.expand_path('../lib', __FILE__) $LOAD_PATH.unshift File.expand_path('./helpers', __FILE__) -require 'etcdv3' require 'simplecov' require 'codecov' +SimpleCov.start +SimpleCov.formatter = SimpleCov::Formatter::Codecov + +require 'etcdv3' require 'helpers/test_instance' require 'helpers/connections' require 'helpers/shared_examples_for_timeout' -SimpleCov.start -SimpleCov.formatter = SimpleCov::Formatter::Codecov - RSpec.configure do |config| config.include(Helpers::Connections)