1$:.push File.join(File.dirname(__FILE__), *%w[.. .. .. lib])
2require 'test/unit'
3require 'spec'
4require 'spec/interop/test'
5
6class MySpec < Test::Unit::TestCase
7 def should_pass_with_should
8 1.should == 1
9 end
10
11 def should_fail_with_should
12 1.should == 2
13 end
14
15 def should_pass_with_assert
16 assert true
17 end
18
19 def should_fail_with_assert
20 assert false
21 end
22
23 def test
24 raise "This is not a real test"
25 end
26
27 def test_ify
28 raise "This is a real test"
29 end
30end