Sha256: df84534c737647686fc1def4b709b39c42d806b1d860b41a0314f8052d88b328
Contents?: true
Size: 587 Bytes
Versions: 27
Compression:
Stored size: 587 Bytes
Contents
# this file is automatically required when you run `assert` # put any test helpers here # add the root dir to the load path require 'pathname' ROOT = Pathname.new(File.expand_path('../..', __FILE__)) $LOAD_PATH.unshift(ROOT.to_s) TEST_SUPPORT_ROOT = ROOT.join('test/support') # require pry for debugging (`binding.pry`) require 'pry' require 'assert-mocha' if defined?(Assert) require 'fileutils' require 'logger' log_file_path = ROOT.join("log/test.log") FileUtils.rm_f log_file_path TEST_LOGGER = Logger.new(File.open(log_file_path, 'w')) require TEST_SUPPORT_ROOT.join('routes')
Version data entries
27 entries across 27 versions & 1 rubygems