diff options
-rw-r--r-- | lib/chef/knife/config_list.rb | 3 | ||||
-rw-r--r-- | spec/integration/knife/config_list_spec.rb | 10 |
2 files changed, 6 insertions, 7 deletions
diff --git a/lib/chef/knife/config_list.rb b/lib/chef/knife/config_list.rb index 931ba59f93..c9f821e2a8 100644 --- a/lib/chef/knife/config_list.rb +++ b/lib/chef/knife/config_list.rb @@ -127,8 +127,7 @@ class Chef else table.render do |renderer| renderer.border do - mid "-" - style :green + mid "-" end renderer.padding = [0, padding, 0, 0] # pad right with 2 characters end diff --git a/spec/integration/knife/config_list_spec.rb b/spec/integration/knife/config_list_spec.rb index d00cf11dc4..b05350ed87 100644 --- a/spec/integration/knife/config_list_spec.rb +++ b/spec/integration/knife/config_list_spec.rb @@ -84,7 +84,7 @@ describe "knife config list", :workstation do EOH it { is_expected.to eq <<~EOH.delete("#") } Profile Client Key Server # - \e[32m--------------------------------------------------------------------------------\e[0m# + --------------------------------------------------------------------------------# *default testuser ~/.chef/testkey.pem https://example.com/organizations/testorg # EOH end @@ -108,7 +108,7 @@ describe "knife config list", :workstation do EOH it { is_expected.to eq <<~EOH.delete("#") } Profile Client Key Server # - \e[32m--------------------------------------------------------------------------------\e[0m# + --------------------------------------------------------------------------------# *default testuser ~/.chef/testkey.pem https://example.com/organizations/testorg # prod testuser ~/.chef/testkey.pem https://example.com/organizations/prod # qa qauser ~/src/qauser.pem https://example.com/organizations/testorg # @@ -135,7 +135,7 @@ describe "knife config list", :workstation do EOH it { is_expected.to eq <<~EOH.delete("#") } Profile Client Key Server # - \e[32m--------------------------------------------------------------------------------\e[0m# + --------------------------------------------------------------------------------# default testuser ~/.chef/testkey.pem https://example.com/organizations/testorg # *prod testuser ~/.chef/testkey.pem https://example.com/organizations/prod # qa qauser ~/src/qauser.pem https://example.com/organizations/testorg # @@ -162,7 +162,7 @@ describe "knife config list", :workstation do EOH it { is_expected.to eq <<~EOH.delete("#") } Profile Client Key Server # - \e[32m--------------------------------------------------------------------------------\e[0m# + --------------------------------------------------------------------------------# default testuser ~/.chef/testkey.pem https://example.com/organizations/testorg # prod testuser ~/.chef/testkey.pem https://example.com/organizations/prod # qa qauser ~/src/qauser.pem https://example.com/organizations/testorg # @@ -185,7 +185,7 @@ describe "knife config list", :workstation do EOH it { is_expected.to eq <<~EOH.delete("#") } Profile Client Key Server # - \e[32m--------------------------------------------------------------\e[0m# + --------------------------------------------------------------# *default https://example.com/organizations/testorg # EOH end |