diff options
author | Lamont Granquist <lamont@opscode.com> | 2013-01-29 17:09:23 -0800 |
---|---|---|
committer | danielsdeleo <dan@opscode.com> | 2013-01-29 18:44:12 -0800 |
commit | 2ebb6ddd2864cf8ee3c1a3e101a5bf5d61c533ff (patch) | |
tree | 356bf5c9e171072145f0968d9d5f6e0f87fc7d8e /spec/unit/api_client/registration_spec.rb | |
parent | 7b3e88e6a7759edd96843b816bc15efab16f8d55 (diff) | |
download | chef-2ebb6ddd2864cf8ee3c1a3e101a5bf5d61c533ff.tar.gz |
make nil the default for second argument of make_tmpname()
Diffstat (limited to 'spec/unit/api_client/registration_spec.rb')
-rw-r--r-- | spec/unit/api_client/registration_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/api_client/registration_spec.rb b/spec/unit/api_client/registration_spec.rb index 076c230a25..3efbe9914b 100644 --- a/spec/unit/api_client/registration_spec.rb +++ b/spec/unit/api_client/registration_spec.rb @@ -23,7 +23,7 @@ require 'chef/api_client/registration' describe Chef::ApiClient::Registration do let(:key_location) do - make_tmpname("client-registration-key",0) + make_tmpname("client-registration-key") end let(:registration) { Chef::ApiClient::Registration.new("silent-bob", key_location) } |