Fixes code coverage for common libs

This commit is contained in:
erwanlr
2013-03-05 14:21:13 +01:00
parent 9525b33988
commit 08e66a86ce

View File

@@ -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'