diff options
author | Vivek Singh <vivek.singh@msystechnologies.com> | 2020-08-25 02:43:57 +0530 |
---|---|---|
committer | Vivek Singh <vivek.singh@msystechnologies.com> | 2020-08-25 02:43:57 +0530 |
commit | 8ec6586aac066d9fda71ba9bff493bff11a1cc26 (patch) | |
tree | 41163b96e49abf0f77fb6764749c030a22ad6d12 /spec/integration | |
parent | bb43b0854873cd31fe72fac42f00a2041a6ccf74 (diff) | |
download | chef-8ec6586aac066d9fda71ba9bff493bff11a1cc26.tar.gz |
Mock TTY::Screen to fix table dynamic nature
Signed-off-by: Vivek Singh <vivek.singh@msystechnologies.com>
Diffstat (limited to 'spec/integration')
-rw-r--r-- | spec/integration/knife/config_list_profiles_spec.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/integration/knife/config_list_profiles_spec.rb b/spec/integration/knife/config_list_profiles_spec.rb index 28f6cb4ccb..08372e646a 100644 --- a/spec/integration/knife/config_list_profiles_spec.rb +++ b/spec/integration/knife/config_list_profiles_spec.rb @@ -57,6 +57,7 @@ describe "knife config list-profiles", :workstation do Dir.chdir(path_to("repo")) ENV[ChefUtils.windows? ? "CD" : "PWD"] = Dir.pwd ENV["HOME"] = path_to(".") + allow(TTY::Screen).to receive(:width).and_return(200) end # NOTE: The funky formatting with # at the end of the line of some of the |