Sha256: 5aa20d30d2b19008efd895ac7534195c2e3f8b108524f8b8f382d5efd327136e

Contents?: true

Size: 454 Bytes

Versions: 3

Compression:

Stored size: 454 Bytes

Contents

# 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 = Array.new).respond_to?(:sample) && a.respond_to?(:choice)
  class Array
    alias_method :sample, :choice
  end
end

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
scmd-3.0.3 test/helper.rb
dumpdb-2.1.0 test/helper.rb
scmd-3.0.2 test/helper.rb