Remove a now useless method
This commit is contained in:
parent
19789b6848
commit
cccad7dbdf
2 changed files with 0 additions and 10 deletions
|
@ -6,8 +6,4 @@ class AdminProceduresShowFacades
|
|||
def procedure
|
||||
@procedure
|
||||
end
|
||||
|
||||
def dossiers
|
||||
@procedure.dossiers.state_not_brouillon
|
||||
end
|
||||
end
|
||||
|
|
|
@ -15,10 +15,4 @@ describe AdminProceduresShowFacades do
|
|||
|
||||
it { is_expected.to eq(procedure) }
|
||||
end
|
||||
|
||||
describe '#dossiers' do
|
||||
subject { super().dossiers }
|
||||
|
||||
it { expect(subject.size).to eq(3) }
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue