Enable the Layout/SpaceInsideArrayLiteralBrackets

This commit is contained in:
gregoirenovel 2018-12-24 17:29:46 +01:00 committed by Pierre de La Morinerie
parent 386fbce776
commit 186e362701
12 changed files with 36 additions and 35 deletions

View file

@ -10,21 +10,21 @@ RSpec.describe ConservationDeDonneesHelper, type: :helper do
let(:dans_ds) { 3 }
let(:hors_ds) { 6 }
it { is_expected.to eq([ "Dans demarches-simplifiees.fr : 3 mois", "Par ladministration : 6 mois" ]) }
it { is_expected.to eq(["Dans demarches-simplifiees.fr : 3 mois", "Par ladministration : 6 mois"]) }
end
context "when only in-app retention time is set" do
let(:dans_ds) { 3 }
let(:hors_ds) { nil }
it { is_expected.to eq([ "Dans demarches-simplifiees.fr : 3 mois" ]) }
it { is_expected.to eq(["Dans demarches-simplifiees.fr : 3 mois"]) }
end
context "when only out of app retention time is set" do
let(:dans_ds) { nil }
let(:hors_ds) { 6 }
it { is_expected.to eq([ "Par ladministration : 6 mois" ]) }
it { is_expected.to eq(["Par ladministration : 6 mois"]) }
end
context "when the retention time is not set" do