diff options
author | Chris Baumbauer <cab@cabnetworks.net> | 2018-11-03 17:03:26 -0700 |
---|---|---|
committer | Chris Baumbauer <cab@cabnetworks.net> | 2018-11-03 17:03:26 -0700 |
commit | 1435fe60752728790544ed07bf4c95fc3ba39efe (patch) | |
tree | f97ee86ed5c074d74183925cb8e516fdf0aea9d2 /spec/services/clusters | |
parent | 73789fdfd2a6e34c9a05cc9e65930146e23b3195 (diff) | |
download | gitlab-ce-1435fe60752728790544ed07bf4c95fc3ba39efe.tar.gz |
Add missing strip to finalize creation service test
Diffstat (limited to 'spec/services/clusters')
-rw-r--r-- | spec/services/clusters/gcp/finalize_creation_service_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/services/clusters/gcp/finalize_creation_service_spec.rb b/spec/services/clusters/gcp/finalize_creation_service_spec.rb index 7fbb6cf2cf5..efee158739d 100644 --- a/spec/services/clusters/gcp/finalize_creation_service_spec.rb +++ b/spec/services/clusters/gcp/finalize_creation_service_spec.rb @@ -33,7 +33,7 @@ describe Clusters::Gcp::FinalizeCreationService, '#execute' do expect(provider.endpoint).to eq(endpoint) expect(platform.api_url).to eq(api_url) - expect(platform.ca_cert).to eq(Base64.decode64(load_sample_cert)) + expect(platform.ca_cert).to eq(Base64.decode64(load_sample_cert).strip) expect(platform.username).to eq(username) expect(platform.password).to eq(password) expect(platform.token).to eq(token) |