summaryrefslogtreecommitdiff
path: root/test/rake/test_rake_task_with_arguments.rb
diff options
context:
space:
mode:
authordrbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-07-23 05:38:50 +0000
committerdrbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-07-23 05:38:50 +0000
commitc93ed570a2991f5ec059526941f442eadacc3cb1 (patch)
treecb70e0ff69911e3e49ba770fc49dcb12813b7185 /test/rake/test_rake_task_with_arguments.rb
parent12d9be6b727bdfe605fc65f18659c4cb4d4b283c (diff)
* test/rake*: Remove dependencies on flexmock and session gems.
[Ruby 1.9 - Bug #4987] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32636 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/rake/test_rake_task_with_arguments.rb')
-rw-r--r--test/rake/test_rake_task_with_arguments.rb5
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 fe1bcf5a496..ce81a4c1a8e 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