Sha256: 409334e2b8e8096b553283b891851da60d06d1dd6e45598a69d059d0a6f907c8
Contents?: true
Size: 747 Bytes
Versions: 2
Compression:
Stored size: 747 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.treat_symbols_as_metadata_keys_with_true_values = true 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
mspire-0.8.1 | spec/spec_helper.rb |
mspire-0.8.0 | spec/spec_helper.rb |