Sha256: d8f59e845a881dcb1dc020a4c2fbc1aa4214bea5e864fad5fde01863fc4ab00b

Contents?: true

Size: 497 Bytes

Versions: 1

Compression:

Stored size: 497 Bytes

Contents

# this file is automatically required when you run `assert`
# put any test helpers here

# add the root dir to the load path
$LOAD_PATH.unshift(File.expand_path("../..", __FILE__))

# require pry for debugging (`binding.pry`)
require 'pry'

require 'test/support/factory'

require 'json' # so the default encoder/decoder procs will work

# 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

1 entries across 1 versions & 1 rubygems

Version Path
mr-0.35.2 test/helper.rb