summaryrefslogtreecommitdiff
path: root/test/rake/test_rake_dsl.rb
diff options
context:
space:
mode:
authordrbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-08-12 16:56:48 +0000
committerdrbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-08-12 16:56:48 +0000
commit5caef67a6f19e5c03cc4684532d738e02a694015 (patch)
tree3028b8f201860495a38e149cb89a324869acd159 /test/rake/test_rake_dsl.rb
parentda6eec340eb13d0c50431a0661528a7fe300ffda (diff)
* lib/rake: Update to Rake 0.9.2.2. Prevent pollution of toplevel
namespace by Commands. Remove unused variable and debugging statement in tests. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32948 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/rake/test_rake_dsl.rb')
-rw-r--r--test/rake/test_rake_dsl.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/rake/test_rake_dsl.rb b/test/rake/test_rake_dsl.rb
index 294ff2b..de83b89 100644
--- a/test/rake/test_rake_dsl.rb
+++ b/test/rake/test_rake_dsl.rb
@@ -56,6 +56,10 @@ class TestRakeDsl < Rake::TestCase
assert_match(/test_rake_dsl\.rb:\d+/, err)
end
+ def test_no_commands_constant
+ assert ! defined?(Commands), "should not define Commands"
+ end
+
def test_deprecated_object_dsl_with_suppressed_warnings
Rake.application.options.ignore_deprecate = true
out, err = capture_io do