Sha256: 0180bc6f46d50a224da4cb9255caa8a6e414502f14f56062cba2bac665d529d4

Contents?: true

Size: 466 Bytes

Versions: 5

Compression:

Stored size: 466 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'

# 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

# TODO: put test helpers here...

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
much-slug-0.1.0 test/helper.rb
much-slug-0.0.1 test/helper.rb
ggem-1.8.4 lib/ggem/template_file/test_helper.rb.erb
ggem-1.8.3 lib/ggem/template_file/test_helper.rb.erb
ggem-1.8.1 lib/ggem/template_file/test_helper.rb.erb