chore: enable freeze string literals by comment
This commit is contained in:
parent
edeb9a46ec
commit
77fb0553fc
2262 changed files with 4520 additions and 1 deletions
|
@ -1,3 +1,5 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
describe Instructeurs::ArchivesController, type: :controller do
|
||||
let(:procedure1) { create(:procedure, :published, groupe_instructeurs: [assign_to.groupe_instructeur]) }
|
||||
let(:procedure2) { create(:procedure, :published, groupe_instructeurs: [gi2]) }
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
describe Instructeurs::AvisController, type: :controller do
|
||||
context 'with a instructeur signed in' do
|
||||
render_views
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
describe Instructeurs::ContactInformationsController, type: :controller do
|
||||
let(:instructeur) { create(:instructeur) }
|
||||
let(:procedure) { create(:procedure) }
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
describe Instructeurs::DossiersController, type: :controller do
|
||||
render_views
|
||||
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
describe Instructeurs::ExportTemplatesController, type: :controller do
|
||||
before { sign_in(instructeur.user) }
|
||||
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
describe Instructeurs::GroupeInstructeursController, type: :controller do
|
||||
render_views
|
||||
let(:administrateurs) { [create(:administrateur, user: instructeur.user)] }
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
describe Instructeurs::InstructeurController, type: :controller do
|
||||
describe 'before actions: authenticate_instructeur!' do
|
||||
it 'is present' do
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
describe Instructeurs::ProceduresController, type: :controller do
|
||||
describe "before_action: ensure_ownership!" do
|
||||
it "is present" do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue