From 2ebb6ddd2864cf8ee3c1a3e101a5bf5d61c533ff Mon Sep 17 00:00:00 2001 From: Lamont Granquist Date: Tue, 29 Jan 2013 17:09:23 -0800 Subject: make nil the default for second argument of make_tmpname() --- spec/unit/api_client/registration_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'spec/unit/api_client/registration_spec.rb') 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) } -- cgit v1.2.1