diff options
author | danielsdeleo <dan@opscode.com> | 2012-12-19 11:21:06 -0800 |
---|---|---|
committer | danielsdeleo <dan@opscode.com> | 2012-12-19 11:21:06 -0800 |
commit | 6bd2a8145a38b452c7b23ead1890cfd80f261af7 (patch) | |
tree | 6dae8c306d2c7c2078308324549dcbdad609f07c /spec/unit/api_client | |
parent | ebe554b95186ec344988156e67cf8c196cce5270 (diff) | |
download | chef-6bd2a8145a38b452c7b23ead1890cfd80f261af7.tar.gz |
[CHEF-3689] binary mode lulz in test data
Diffstat (limited to 'spec/unit/api_client')
-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 513fa43a98..471c7149d7 100644 --- a/spec/unit/api_client/registration_spec.rb +++ b/spec/unit/api_client/registration_spec.rb @@ -31,7 +31,7 @@ describe Chef::ApiClient::Registration do let(:registration) { Chef::ApiClient::Registration.new("silent-bob", key_location) } let :private_key_data do - File.open(Chef::Config[:validation_key], "rb") {|f| f.read.chomp } + File.open(Chef::Config[:validation_key], "r") {|f| f.read.chomp } end before do |