summaryrefslogtreecommitdiff
path: root/spec/unit/api_client
diff options
context:
space:
mode:
authordanielsdeleo <dan@opscode.com>2012-12-19 11:21:06 -0800
committerdanielsdeleo <dan@opscode.com>2012-12-19 11:21:06 -0800
commit6bd2a8145a38b452c7b23ead1890cfd80f261af7 (patch)
tree6dae8c306d2c7c2078308324549dcbdad609f07c /spec/unit/api_client
parentebe554b95186ec344988156e67cf8c196cce5270 (diff)
downloadchef-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.rb2
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