mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
10 lines
175 B
Ruby
10 lines
175 B
Ruby
|
# Common setup for all test files.
|
||
|
|
||
|
# require 'flexmock/test_unit'
|
||
|
|
||
|
module TestMethods
|
||
|
def assert_exception(ex, msg=nil, &block)
|
||
|
assert_raise(ex, msg, &block)
|
||
|
end
|
||
|
end
|