test/test-libstask.rb in rake-delphi-0.0.31 vs test/test-libstask.rb in rake-delphi-0.0.32
- old
+ new
@@ -1,13 +1,13 @@
# encoding: utf-8
require 'rake'
-require 'test/unit'
+require 'minitest/autorun'
require 'rake/common/libstask'
require 'rake/helpers/unittest'
-class TestLibsTask < Test::Unit::TestCase
+class TestLibsTask < MiniTest::Unit::TestCase
private
def _dir
return @dir ||= File.expand_path('../resources/libstask/', __FILE__)
end
public
@@ -25,12 +25,12 @@
assert_equal('test-libs-task-test_define(TestLibsTask)', task2.name)
else
assert_equal('test-libs-task-test_define', task2.name)
end
# already invoked
- assert_not_equal(nil, task2.libs)
+ refute_equal(nil, task2.libs)
# not empty
- assert_not_equal([], task2.libs)
+ refute_equal([], task2.libs)
end
def test_libs_relative_not_executed
task2 = Rake::Delphi::LibsTask.define('libs task not executed', Rake.application)
assert_equal [], task2.libs