Sha256: ca39f356fce3abc3db66e6c8ee09cb577571c5c14e0c9e8f56266d03e3ad156a

Contents?: true

Size: 527 Bytes

Versions: 6

Compression:

Stored size: 527 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 'pathname'
TEST_SUPPORT_PATH = Pathname.new(File.expand_path('../support', __FILE__))

# 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

6 entries across 6 versions & 2 rubygems

Version Path
deas-nm-0.5.5 test/helper.rb
sanford-nm-0.4.5 test/helper.rb
sanford-nm-0.4.4 test/helper.rb
deas-nm-0.5.4 test/helper.rb
deas-nm-0.5.3 test/helper.rb
sanford-nm-0.4.3 test/helper.rb