chore: enable freeze string literals by comment

This commit is contained in:
Colin Darie 2024-04-29 00:17:15 +02:00
parent edeb9a46ec
commit 77fb0553fc
No known key found for this signature in database
GPG key ID: 4FB865FDBCA4BCC4
2262 changed files with 4520 additions and 1 deletions

View file

@ -1,3 +1,5 @@
# frozen_string_literal: true
describe EditableChamp::DatetimeComponent, type: :component do
let(:procedure) { create(:procedure, types_de_champ_public: [{ type: :datetime, stable_id: 99 }]) }
let(:dossier) { create(:dossier, procedure:) }

View file

@ -1,3 +1,5 @@
# frozen_string_literal: true
describe EditableChamp::EditableChampComponent, type: :component do
let(:procedure) { create(:procedure, types_de_champ_public:, types_de_champ_private:) }
let(:types_de_champ_public) { [] }

View file

@ -1,3 +1,5 @@
# frozen_string_literal: true
describe EditableChamp::ExplicationComponent, type: :component do
let(:procedure) { create(:procedure, :published, types_de_champ_public:) }
let(:dossier) { create(:dossier, :with_populated_champs, procedure:) }

View file

@ -1,3 +1,5 @@
# frozen_string_literal: true
describe EditableChamp::PieceJustificativeComponent, type: :component do
let(:procedure) { create(:procedure, :published, types_de_champ_public:) }
let(:types_de_champ_public) { [{ type: :piece_justificative }] }

View file

@ -1,3 +1,5 @@
# frozen_string_literal: true
describe EditableChamp::SectionComponent, type: :component do
include TreeableConcern
let(:procedure) { create(:procedure, types_de_champ_public:) }