Updated MSpec source to a54f23d0.
[rbx.git] / spec / frozen / 1.8 / spec_helper.rb
blob97f89464c3dce58cccf27bfc80fa9913e82cacc4
1 unless ENV['MSPEC_RUNNER']
2   begin
3     require 'mspec/helpers'
4     require 'mspec/guards'
5     require 'mspec/runner/shared'
6     require 'mspec/matchers/be_ancestor_of'
7     require 'mspec/matchers/output'
8     require 'mspec/matchers/output_to_fd'
9     require 'mspec/matchers/complain'
11     TOLERANCE = 0.00003 unless Object.const_defined?(:TOLERANCE)
12   rescue LoadError
13     puts "Please install the MSpec gem to run the specs."
14     exit 1
15   end
16 end
18 unless ENV['OUTPUT_WARNINGS']
19   $verbose = $VERBOSE
20   $VERBOSE = nil
22   at_exit { $VERBOSE = $verbose }
23 end