summaryrefslogtreecommitdiff
path: root/test/rake/test_rake_task_manager.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_manager.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_manager.rb')
-rw-r--r--test/rake/test_rake_task_manager.rb8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/rake/test_rake_task_manager.rb b/test/rake/test_rake_task_manager.rb
index 847f784..110ce65 100644
--- a/test/rake/test_rake_task_manager.rb
+++ b/test/rake/test_rake_task_manager.rb
@@ -19,6 +19,14 @@ class TestRakeTaskManager < Rake::TestCase
assert_equal @tm, t.application
end
+ def test_index
+ e = assert_raises RuntimeError do
+ @tm['bad']
+ end
+
+ assert_equal "Don't know how to build task 'bad'", e.message
+ end
+
def test_name_lookup
t = @tm.define_task(Rake::Task, :t)
assert_equal t, @tm[:t]