lib/beaker-pe.rb in beaker-pe-1.41.1 vs lib/beaker-pe.rb in beaker-pe-2.0.0
- old
+ new
@@ -1,5 +1,8 @@
+require 'beaker'
+require 'beaker-puppet'
+
require 'stringify-hash'
require 'beaker-pe/version'
require 'beaker-pe/install/pe_defaults'
require 'beaker-pe/install/pe_utils'
require 'beaker-pe/options/pe_version_scraper'
@@ -21,15 +24,5 @@
end
# Boilerplate DSL inclusion mechanism:
# First we register our module with the Beaker DSL
Beaker::DSL.register( Beaker::DSL::PE )
-
-# Second,We need to reload the DSL, but before we had reloaded
-# it in the global namespace, which result in errors colliding
-# with other gems rightfully not expecting beaker's dsl to
-# be available at the global level.
-module Beaker
- class TestCase
- include Beaker::DSL
- end
-end