summaryrefslogtreecommitdiff
path: root/lib/chef/config.rb
diff options
context:
space:
mode:
authorJohn Keiser <jkeiser@opscode.com>2014-08-29 22:01:26 -0700
committerJohn Keiser <jkeiser@opscode.com>2014-08-29 22:01:26 -0700
commitd404a1a30935c826cd6971b9f30c36bf92569901 (patch)
tree2fc577eb5f0e3042ed23c9e16dd02b72f66947c3 /lib/chef/config.rb
parentd1350f296095ff70baafbd4f5fa1e3737a4924d2 (diff)
parentb3be31b52cc0aabb86526edcc705c6166d34acaa (diff)
downloadchef-d404a1a30935c826cd6971b9f30c36bf92569901.tar.gz
Merge branch 'jk/rspec_zero_3'
Diffstat (limited to 'lib/chef/config.rb')
-rw-r--r--lib/chef/config.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/config.rb b/lib/chef/config.rb
index 08a377ca12..0cf13b79da 100644
--- a/lib/chef/config.rb
+++ b/lib/chef/config.rb
@@ -119,7 +119,7 @@ class Chef
# === Parameters
# url<String>:: String to be set for all of the chef-server-api URL's
#
- configurable(:chef_server_url).writes_value { |url| url.strip }
+ configurable(:chef_server_url).writes_value { |url| url.to_s.strip }
# When you are using ActiveSupport, they monkey-patch 'daemonize' into Kernel.
# So while this is basically identical to what method_missing would do, we pull