1 2 3 4 5 6 7 8 9 10
require 'test/unit' require 'rake/tasklib' class Rake::TestTaskLib < Test::Unit::TestCase def test_paste tl = Rake::TaskLib.new assert_equal :ab, tl.paste(:a, :b) end end