summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--spec/integration/knife/config_list_profiles_spec.rb1
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