Sha256: 60ac14933b80caacda087e8e694adcdb5fb5d07516028c103e9f94bfc3dd9286
Contents?: true
Size: 1.27 KB
Versions: 6
Compression:
Stored size: 1.27 KB
Contents
# Set up coverage analysis #-----------------------------------------------------------------------------# if RUBY_VERSION >= '1.9.3' require 'codeclimate-test-reporter' CodeClimate::TestReporter.configure do |config| config.logger.level = Logger::WARN end CodeClimate::TestReporter.start end # Set up #-----------------------------------------------------------------------------# require 'pathname' ROOT = Pathname.new(File.expand_path('../../', __FILE__)) $:.unshift((ROOT + 'lib').to_s) $:.unshift((ROOT + 'spec').to_s) require 'bundler/setup' require 'bacon' require 'mocha-on-bacon' require 'pretty_bacon' require 'cocoapods' require 'cocoapods_plugin' # Helpers #-----------------------------------------------------------------------------# module Pod # Disable the wrapping so the output is deterministic in the tests. # UI.disable_wrap = true # Redirects the messages to an internal store. # module UI @output = '' @warnings = '' class << self attr_accessor :output attr_accessor :warnings def puts(message = '') @output << "#{message}\n" end def warn(message = '', _actions = []) @warnings << "#{message}\n" end def print(message) @output << message end end end end
Version data entries
6 entries across 6 versions & 2 rubygems