PageRenderTime 43ms CodeModel.GetById 15ms RepoModel.GetById 0ms app.codeStats 0ms

/vendor/jruby-1.1.6RC1/lib/ruby/gems/1.8/gems/rspec-1.1.11/spec/spec/interop/test/unit/resources/test_case_with_errors.rb

https://bitbucket.org/nicksieger/advent-jruby
Ruby | 10 lines | 9 code | 1 blank | 0 comment | 0 complexity | 12ff074586c9dc33f0c64d9df1402f9d MD5 | raw file
Possible License(s): CPL-1.0, AGPL-1.0, LGPL-2.1, JSON
  1. rspec_lib = File.dirname(__FILE__) + "/../../../../../../lib"
  2. $:.unshift rspec_lib unless $:.include?(rspec_lib)
  3. require 'test/unit'
  4. require 'spec'
  5. class TestCaseWithErrors < Test::Unit::TestCase
  6. def test_with_error
  7. raise "error raised in TestCaseWithErrors"
  8. end
  9. end