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:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user