Sha256: c1b41bbb6427064d338e34d361a73017c226bf0cb3e3a64922f7d2ad443e3f47
Contents?: true
Size: 675 Bytes
Versions: 6
Compression:
Stored size: 675 Bytes
Contents
require 'rubygems' require 'rspec' require 'fileutils' require 'simplecov' SimpleCov.start ROOT = "#{File.dirname(__FILE__)}/../tmp" $:.unshift(File.dirname(__FILE__) + '/../lib') require 'madvertise-logging' RSpec.configure do |config| # == Mock Framework # # RSpec uses it's own mocking framework by default. If you prefer to # use mocha, flexmock or RR, uncomment the appropriate line: # # config.mock_with :mocha # config.mock_with :flexmock # config.mock_with :rr # setup a fake root config.before(:all) { File.directory?(ROOT) ? FileUtils.rm_rf("#{ROOT}/*") : FileUtils.mkdir_p(ROOT) } config.after(:all) { FileUtils.rm_rf("#{ROOT}/*") } end
Version data entries
6 entries across 6 versions & 1 rubygems