Module: TestUnitSpecHelper
- Includes:
- RubyForker
- Defined in:
- lib/gems/rspec-1.1.11/spec/spec/interop/test/unit/test_unit_spec_helper.rb
Instance Method Summary collapse
Methods included from RubyForker
Instance Method Details
#run_script(file_name) ⇒ Object
7 8 9 10 11 12 13 |
# File 'lib/gems/rspec-1.1.11/spec/spec/interop/test/unit/test_unit_spec_helper.rb', line 7 def run_script(file_name) output = ruby(file_name) if !$?.success? || output.include?("FAILED") || output.include?("Error") raise output end output end |