lib/cucumber/chef/helpers.rb in cucumber-chef-2.0.7 vs lib/cucumber/chef/helpers.rb in cucumber-chef-2.1.0.rc.0
- old
+ new
@@ -1,10 +1,10 @@
################################################################################
#
# Author: Stephen Nelson-Smith <stephen@atalanta-systems.com>
# Author: Zachary Patten <zachary@jovelabs.com>
-# Copyright: Copyright (c) 2011-2012 Atalanta Systems Ltd
+# Copyright: Copyright (c) 2011-2013 Atalanta Systems Ltd
# License: Apache License, Version 2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
@@ -24,25 +24,27 @@
# This module includes all of the helper methods meant to drive step
# definitions.
module Helpers
+ require 'benchmark'
+
require 'cucumber/chef/helpers/chef_client'
require 'cucumber/chef/helpers/chef_server'
require 'cucumber/chef/helpers/command'
require 'cucumber/chef/helpers/container'
require 'cucumber/chef/helpers/server'
require 'cucumber/chef/helpers/test_lab'
require 'cucumber/chef/helpers/utility'
def self.included(base)
- base.send(:include, Cucumber::Chef::Helpers::ChefClient)
- base.send(:include, Cucumber::Chef::Helpers::ChefServer)
- base.send(:include, Cucumber::Chef::Helpers::Command)
- base.send(:include, Cucumber::Chef::Helpers::Container)
- base.send(:include, Cucumber::Chef::Helpers::Server)
- base.send(:include, Cucumber::Chef::Helpers::TestLab)
- base.send(:include, Cucumber::Chef::Helpers::Utility)
+ base.send(:include, ::Cucumber::Chef::Helpers::ChefClient)
+ base.send(:include, ::Cucumber::Chef::Helpers::ChefServer)
+ base.send(:include, ::Cucumber::Chef::Helpers::Command)
+ base.send(:include, ::Cucumber::Chef::Helpers::Container)
+ base.send(:include, ::Cucumber::Chef::Helpers::Server)
+ base.send(:include, ::Cucumber::Chef::Helpers::TestLab)
+ base.send(:include, ::Cucumber::Chef::Helpers::Utility)
end
end
end