Add frozen time condition to proposals phase spec

Backport the part of AyuntamientoMadrid@ea6fcb5 which hadn't been
backported yet.
This commit is contained in:
Javi Martín
2018-12-07 15:09:07 +01:00
parent 4f9ca04a84
commit a769c61c02

View File

@@ -264,7 +264,7 @@ feature 'Legislation' do
end end
context 'proposals phase' do context 'proposals phase' do
scenario 'not open' do scenario 'not open', :with_frozen_time do
process = create(:legislation_process, :upcoming_proposals_phase) process = create(:legislation_process, :upcoming_proposals_phase)
visit legislation_process_proposals_path(process) visit legislation_process_proposals_path(process)