lib/beaker/shared.rb in beaker-1.12.1 vs lib/beaker/shared.rb in beaker-1.12.2
- old
+ new
@@ -1,10 +1,6 @@
-[ 'repetition', 'error_handler', 'host_role_parser', 'timed' ].each do |file|
- begin
- require "beaker/shared/#{file}"
- rescue LoadError
- require File.expand_path(File.join(File.dirname(__FILE__), 'shared', file))
- end
+[ 'repetition', 'error_handler', 'host_role_parser', 'timed' ].each do |lib|
+ require "beaker/shared/#{lib}"
end
module Beaker
module Shared
include Beaker::Shared::ErrorHandler
include Beaker::Shared::HostRoleParser