1.2.0 -
Show latest stable
-
0 notes
- Superclass:
Object
- 1.1.4
- 1.1.12
- 1.2.0 (0)
- 1.2.8 (0)
- 1.3.0 (0)
- 1.3.1 (0)
- What's this?
This extension of the standard Test::Unit::TestCase makes RSpec available from within, so that you can do things like:
require ‘spec/test/unit’
class MyTest < Test::Unit::TestCase
it "should work with Test::Unit assertions" do assert_equal 4, 2+1 end def test_should_work_with_rspec_expectations (3+1).should == 5 end
end
See also Spec::Example::ExampleGroup