diff options
Diffstat (limited to 'test/rake/test_rake_task_with_arguments.rb')
-rw-r--r-- | test/rake/test_rake_task_with_arguments.rb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/test/rake/test_rake_task_with_arguments.rb b/test/rake/test_rake_task_with_arguments.rb index fe1bcf5a49..ce81a4c1a8 100644 --- a/test/rake/test_rake_task_with_arguments.rb +++ b/test/rake/test_rake_task_with_arguments.rb @@ -160,11 +160,14 @@ class TestRakeTaskWithArguments < Rake::TestCase end def test_values_at - t = task(:pre, [:a, :b, :c]) { |t, args| + t = task(:pre, [:a, :b, :c]) { |task, args| a, b, c = args.values_at(:a, :b, :c) assert_equal %w[1 2 3], [a, b, c] } + t.invoke(*%w[1 2 3]) + + # HACK no assertions end end |