summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Baumbauer <cab@cabnetworks.net>2018-11-03 17:03:26 -0700
committerChris Baumbauer <cab@cabnetworks.net>2018-11-03 17:03:26 -0700
commit1435fe60752728790544ed07bf4c95fc3ba39efe (patch)
treef97ee86ed5c074d74183925cb8e516fdf0aea9d2
parent73789fdfd2a6e34c9a05cc9e65930146e23b3195 (diff)
downloadgitlab-ce-1435fe60752728790544ed07bf4c95fc3ba39efe.tar.gz
Add missing strip to finalize creation service test
-rw-r--r--spec/services/clusters/gcp/finalize_creation_service_spec.rb2
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)