factories: ensure that dossiers with_entreprise
are consistent
This commit is contained in:
parent
0efb62f03a
commit
792ba73643
4 changed files with 9 additions and 6 deletions
|
@ -288,8 +288,8 @@ describe API::V2::GraphqlController do
|
|||
end
|
||||
|
||||
context "with entreprise" do
|
||||
let(:procedure) { create(:procedure, :published, administrateurs: [admin]) }
|
||||
let(:dossier) { create(:dossier, :en_construction, :with_entreprise, procedure: procedure) }
|
||||
let(:procedure_for_entreprise) { create(:procedure, :published, administrateurs: [admin]) }
|
||||
let(:dossier) { create(:dossier, :en_construction, :with_entreprise, procedure: procedure_for_entreprise) }
|
||||
|
||||
let(:query) do
|
||||
"{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue