Browse Source

Spelling mistakes

pull/260/head
Stéphane Meny 4 years ago
parent
commit
1359e180d7
No known key found for this signature in database
GPG Key ID: 9D0AFEA988527923
  1. 12
      spec/services/paas_configuration_service_spec.rb

12
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

Loading…
Cancel
Save