fix indentation
This commit is contained in:
parent
70500e3d56
commit
00d7c3186a
1 changed files with 10 additions and 9 deletions
|
@ -853,15 +853,16 @@ describe Users::DossiersController, type: :controller do
|
|||
|
||||
context "with PDF output" do
|
||||
let(:procedure) { create(:procedure) }
|
||||
let(:dossier) {
|
||||
create(:dossier,
|
||||
:accepte,
|
||||
:with_all_champs,
|
||||
:with_motivation,
|
||||
:with_commentaires,
|
||||
procedure: procedure,
|
||||
user: user)
|
||||
}
|
||||
let(:dossier) do
|
||||
create(:dossier,
|
||||
:accepte,
|
||||
:with_all_champs,
|
||||
:with_motivation,
|
||||
:with_commentaires,
|
||||
procedure: procedure,
|
||||
user: user)
|
||||
end
|
||||
|
||||
subject! { get(:show, params: { id: dossier.id, format: :pdf }) }
|
||||
|
||||
context 'when the dossier is a brouillon' do
|
||||
|
|
Loading…
Add table
Reference in a new issue