mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-15 12:44:03 +00:00
voting period is open when voting dates are not set
This commit is contained in:
parent
d07de3ca88
commit
ea868d4cc7
3 changed files with 6 additions and 6 deletions
|
|
@ -90,8 +90,8 @@ describe Program do
|
|||
end
|
||||
|
||||
describe 'voting_period?' do
|
||||
it 'retuns false when voting dates are not set' do
|
||||
expect(program.voting_period?).to eq false
|
||||
it 'retuns true when voting dates are not set' do
|
||||
expect(program.voting_period?).to eq true
|
||||
end
|
||||
|
||||
shared_examples 'voting period' do |voting_start_date, voting_end_date, returns|
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue