summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc A. Paradise <marc.paradise@gmail.com>2019-04-08 09:27:27 -0400
committerMarc A. Paradise <marc.paradise@gmail.com>2019-04-24 13:25:58 -0400
commit9039cea70004a3197d4db141c1ea5e459ece964e (patch)
tree9143adb39ea5228ec1e90fd779579fa6c07aee46
parent8fe62e8f42e5eb30ca4b5c8ba54fe4b15424b480 (diff)
downloadchef-9039cea70004a3197d4db141c1ea5e459ece964e.tar.gz
Add chef/text require before Rubygems breaks YAML
Rubygems monkeypatches YAML for backwards compatibility, but this is not compatible with r18n library's usage; add the require here to ensure that it's loaded before rubygems, allowing tests that refer to this file to run in isolation. Signed-off-by: Marc A. Paradise <marc.paradise@gmail.com>
-rw-r--r--spec/support/shared/integration/integration_helper.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/support/shared/integration/integration_helper.rb b/spec/support/shared/integration/integration_helper.rb
index 5fc9de4de7..b6851f2d0e 100644
--- a/spec/support/shared/integration/integration_helper.rb
+++ b/spec/support/shared/integration/integration_helper.rb
@@ -19,6 +19,7 @@
require "tmpdir"
require "fileutils"
+require "chef_core/text"
require "chef/config"
require "chef/json_compat"
require "chef/server_api"