Sha256: 9ed6cdcd532f84866df5c97431c441cdbce9e46dd6c4617ed90c9c1fade840d8
Contents?: true
Size: 525 Bytes
Versions: 3
Compression:
Stored size: 525 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' class Assert::Context setup{ @factory = Factory } end # 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 ENV['DASSETS_TEST_MODE'] = 'yes'
Version data entries
3 entries across 3 versions & 3 rubygems
Version | Path |
---|---|
dassets-sass-0.4.0 | test/helper.rb |
dassets-lessv1-0.3.0 | test/helper.rb |
dassets-erb-0.2.0 | test/helper.rb |