From 08e66a86cec5acd837cb84fc2c0652b7ff88d5ea Mon Sep 17 00:00:00 2001 From: erwanlr Date: Tue, 5 Mar 2013 14:21:13 +0100 Subject: [PATCH] Fixes code coverage for common libs --- spec/spec_helper.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 1dec7eb3..88c1dc3d 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -20,12 +20,12 @@ # https://github.com/bblimke/webmock # https://github.com/colszowka/simplecov -require File.expand_path(File.dirname(__FILE__) + '/../lib/common/common_helper') - require 'webmock/rspec' # Code Coverage (only works with ruby >= 1.9) require 'simplecov' if RUBY_VERSION >= '1.9' +require File.expand_path(File.dirname(__FILE__) + '/../lib/common/common_helper') + SPEC_DIR = ROOT_DIR + '/spec' SPEC_LIB_DIR = SPEC_DIR + '/lib' SPEC_CACHE_DIR = SPEC_DIR + '/cache'