voting period is open when voting dates are not set

This commit is contained in:
differentreality 2016-08-17 15:55:10 +03:00 committed by Stella Rouzi
parent d07de3ca88
commit ea868d4cc7
3 changed files with 6 additions and 6 deletions

View file

@ -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|