Fix show_voting? so it is true even during the voting period
This commit is contained in:
parent
653395c123
commit
23c14f82f8
3 changed files with 8 additions and 6 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue