Browse Source

Rubocop

pull/336/head
baarkerlounger 3 years ago
parent
commit
9892eaa222
  1. 2
      app/services/paas_configuration_service.rb
  2. 2
      spec/services/paas_configuration_service_spec.rb

2
app/services/paas_configuration_service.rb

@ -27,7 +27,7 @@ private
JSON.parse(ENV["VCAP_SERVICES"], { symbolize_names: true })
rescue StandardError
@logger.warn("Could not parse VCAP_SERVICES!")
return {}
{}
end
end

2
spec/services/paas_configuration_service_spec.rb

@ -24,7 +24,7 @@ RSpec.describe PaasConfigurationService do
context "when configuration is present but invalid" do
let(:vcap_services) do
{"aws-s3-bucket": [{instance_name: "bucket_1"}, {instance_name: "bucket_2"}]}
{ "aws-s3-bucket": [{ instance_name: "bucket_1" }, { instance_name: "bucket_2" }] }
end
before do

Loading…
Cancel
Save