Permalink
Browse files

Silence Rake::DSL warnings

  • Loading branch information...
1 parent 9de9ba8 commit 28ab3f79e264484d24af46c4245c6d130935fbd3 @nicksieger nicksieger committed Jun 27, 2011
Showing with 4 additions and 0 deletions.
  1. +4 −0 test/abstract_db_create.rb
@@ -15,6 +15,10 @@ def self.application
end
module AbstractDbCreate
+ def self.included(base)
+ base.module_eval { include Rake::DSL } if defined?(Rake::DSL)
+ end
+
def setup
@prevapp = Rake.application
Rake.application = Rake::Application.new

0 comments on commit 28ab3f7

Please sign in to comment.