Revert "Merge pull request #6142 from tchak/enable_brouillon_extend_conservation"
This reverts commit48eb4d9778
, reversing changes made to5539d5cb8c
. # Conflicts: # app/models/dossier.rb # db/schema.rb
This commit is contained in:
parent
4cba6e3b11
commit
bcbfcdc537
8 changed files with 15 additions and 64 deletions
|
@ -52,15 +52,6 @@ describe Dossier do
|
|||
is_expected.to include(just_expired_dossier)
|
||||
is_expected.to include(long_expired_dossier)
|
||||
end
|
||||
|
||||
context 'does not include an expiring dossier that has been postponed' do
|
||||
before do
|
||||
expiring_dossier.update(conservation_extension: 1.month)
|
||||
expiring_dossier.reload
|
||||
end
|
||||
|
||||
it { is_expected.not_to include(expiring_dossier) }
|
||||
end
|
||||
end
|
||||
|
||||
describe 'en_construction_close_to_expiration' do
|
||||
|
@ -81,7 +72,7 @@ describe Dossier do
|
|||
|
||||
context 'does not include an expiring dossier that has been postponed' do
|
||||
before do
|
||||
expiring_dossier.update(conservation_extension: 1.month)
|
||||
expiring_dossier.update(en_construction_conservation_extension: 1.month)
|
||||
expiring_dossier.reload
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue