test/test_helper.rb in seatbelt-0.3.0 vs test/test_helper.rb in seatbelt-0.3.1

- old
+ new

@@ -12,10 +12,10 @@ Dir[File.dirname(__FILE__) + "/helpers/**/*.rb"].sort.each { |f| require File.expand_path(f) } # Turn.config.format = :dot -class Minitest::Unit::TestCase +class Minitest::Test def assert_assertion_fails(&block) if Object.const_defined?(:MiniTest) assert_raises(MiniTest::Assertion, &block) else assert_raises(Test::Unit::AssertionFailedError, &block)