mirror of
https://github.com/edgecase/ruby_koans.git
synced 2026-04-15 07:23:19 -04:00
Updated Sensei for 2.0.0
Add support for Ruby 2.0.0
This commit is contained in:
@@ -147,7 +147,7 @@ module EdgeCase
|
|||||||
AssertionError = Test::Unit::AssertionFailedError
|
AssertionError = Test::Unit::AssertionFailedError
|
||||||
end
|
end
|
||||||
|
|
||||||
in_ruby_version("1.9") do
|
in_ruby_version("1.9", "2.0") do
|
||||||
if defined?(MiniTest)
|
if defined?(MiniTest)
|
||||||
AssertionError = MiniTest::Assertion
|
AssertionError = MiniTest::Assertion
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user