Sha256: bf0624a402648e42221427a2c4b174afaf86614885712b955f212c3938ac6a26
Contents?: true
Size: 683 Bytes
Versions: 1
Compression:
Stored size: 683 Bytes
Contents
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib')) $LOAD_PATH.unshift(File.dirname(__FILE__)) require 'rubygems' require 'rspec' TESTFILES = File.dirname(__FILE__) + '/testfiles' # Requires supporting files with custom matchers and macros, etc, # in ./support/ and its subdirectories. Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each {|f| require f} RSpec.configure do |config| config.color_enabled = true config.tty = true #config.formatter = :documentation # :progress, :html, :textmate config.formatter = :progress # :progress, :html, :textmate end def benchmark(*args, &block) if ENV['BENCHMARK'] Benchmark.bmbm(*args, &block) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
mspire-0.6.1 | spec/spec_helper.rb |