From 1359e180d73bb7e7aaf260c899b8d9e3307ef5ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Meny?= Date: Fri, 28 Jan 2022 14:27:53 +0000 Subject: [PATCH] Spelling mistakes --- spec/services/paas_configuration_service_spec.rb | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/spec/services/paas_configuration_service_spec.rb b/spec/services/paas_configuration_service_spec.rb index 0fcbf959d..d67b1ad45 100644 --- a/spec/services/paas_configuration_service_spec.rb +++ b/spec/services/paas_configuration_service_spec.rb @@ -7,11 +7,11 @@ RSpec.describe "PaasConfigurationService" do before { allow(logger).to receive(:warn) } - it "is flagged the configuration as not present" do + it "returns the configuration as not present" do expect(subject.config_present?).to be(false) end - it "is flagged the S3 configuration as not present" do + it "returns the S3 configuration as not present" do expect(subject.s3_config_present?).to be(false) end @@ -32,11 +32,11 @@ RSpec.describe "PaasConfigurationService" do allow(ENV).to receive(:[]).with("VCAP_SERVICES").and_return(vcap_services) end - it "is flagged the configuration as present" do + it "returns the configuration as present" do expect(subject.config_present?).to be(true) end - it "is flagged the S3 configuration as present" do + it "returns the S3 configuration as present" do expect(subject.s3_config_present?).to be(true) end @@ -57,11 +57,11 @@ RSpec.describe "PaasConfigurationService" do allow(ENV).to receive(:[]).with("VCAP_SERVICES").and_return("{}") end - it "is flagged the configuration as present" do + it "returns the configuration as present" do expect(subject.config_present?).to be(true) end - it "is flagged the S3 configuration as not present" do + it "returns the S3 configuration as not present" do expect(subject.s3_config_present?).to be(false) end