diff options
author | Marc A. Paradise <marc.paradise@gmail.com> | 2019-04-08 09:27:27 -0400 |
---|---|---|
committer | Marc A. Paradise <marc.paradise@gmail.com> | 2019-04-24 13:25:58 -0400 |
commit | 9039cea70004a3197d4db141c1ea5e459ece964e (patch) | |
tree | 9143adb39ea5228ec1e90fd779579fa6c07aee46 /spec | |
parent | 8fe62e8f42e5eb30ca4b5c8ba54fe4b15424b480 (diff) | |
download | chef-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>
Diffstat (limited to 'spec')
-rw-r--r-- | spec/support/shared/integration/integration_helper.rb | 1 |
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" |