Fix show_voting? so it is true even during the voting period

This commit is contained in:
Michael Ball 2021-05-03 03:36:55 -07:00
parent 653395c123
commit 23c14f82f8
3 changed files with 8 additions and 6 deletions

View file

@ -119,9 +119,10 @@ describe Program do
expect(program.show_voting?).to eq true
end
# TODO-SNAPCON: This should be updated / removed.
it 'returns false if we are still in votig period' do
program.voting_end_date = Date.today + 1
expect(program.show_voting?).to eq false
expect(program.show_voting?).to eq true
end
end
end