Sha256: 5e4a2b4a968d84a6ed0127ad47a22cc0b64e423fd659a8a97a4be1dcc6439ad1
Contents?: true
Size: 478 Bytes
Versions: 2
Compression:
Stored size: 478 Bytes
Contents
# frozen_string_literal: true # this file is automatically required when you run `assert` # put any test helpers here # add the root dir to the load path ROOT_PATH = File.expand_path("../..", __FILE__) $LOAD_PATH.unshift(ROOT_PATH) # require pry for debugging (`binding.pry`) require "pry" require "test/support/factory" # 1.8.7 backfills # Array#sample if !(a = []).respond_to?(:sample) && a.respond_to?(:choice) class Array alias_method :sample, :choice end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
scmd-3.0.5 | test/helper.rb |
scmd-3.0.4 | test/helper.rb |