/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
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
- rspec_lib = File.dirname(__FILE__) + "/../../../../../../lib"
- $:.unshift rspec_lib unless $:.include?(rspec_lib)
- require 'test/unit'
- require 'spec'
- class TestCaseWithErrors < Test::Unit::TestCase
- def test_with_error
- raise "error raised in TestCaseWithErrors"
- end
- end