tests
This commit is contained in:
parent
12b66513ca
commit
3e43597440
2 changed files with 1 additions and 2 deletions
|
@ -8,7 +8,7 @@ RSpec.describe ConservationDeDonneesHelper, type: :helper do
|
||||||
let(:dans_ds) { 3 }
|
let(:dans_ds) { 3 }
|
||||||
let(:hors_ds) { 6 }
|
let(:hors_ds) { 6 }
|
||||||
|
|
||||||
it { is_expected.to eq(["Dans #{APPLICATION_NAME} : 3 mois"]) }
|
it { is_expected.to eq(["#{APPLICATION_NAME} : 3 mois"]) }
|
||||||
end
|
end
|
||||||
|
|
||||||
context "when the retention time is not set" do
|
context "when the retention time is not set" do
|
||||||
|
|
|
@ -16,7 +16,6 @@ describe 'users/procedure_footer.html.haml', type: :view do
|
||||||
|
|
||||||
it "affiche les liens usuels requis" do
|
it "affiche les liens usuels requis" do
|
||||||
expect(subject).to have_link("Accessibilité")
|
expect(subject).to have_link("Accessibilité")
|
||||||
expect(subject).to have_link("CGU")
|
|
||||||
expect(subject).to have_link("Mentions légales")
|
expect(subject).to have_link("Mentions légales")
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue