Sha256: f751d2d4dd5c6922aaafab6e6d26ef97ca4a515dcfa9dd854b1fffe2f2679afc
Contents?: true
Size: 567 Bytes
Versions: 4
Compression:
Stored size: 567 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 # unstub all test stubs automatically for Assert test suite require "assert" class Assert::Context teardown{ MuchStub.unstub! } end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
much-stub-0.1.5 | test/helper.rb |
much-stub-0.1.4 | test/helper.rb |
much-stub-0.1.3 | test/helper.rb |
much-stub-0.1.2 | test/helper.rb |