Wrong test: proposal cannot be rated
This commit is contained in:
parent
efda31870b
commit
f648b8731a
1 changed files with 3 additions and 3 deletions
|
|
@ -10,10 +10,10 @@ describe Program do
|
||||||
expect(program.rating_enabled?).to be true
|
expect(program.rating_enabled?).to be true
|
||||||
end
|
end
|
||||||
|
|
||||||
it 'returns false if proposals cannot be rated (program.ratinig == 0) ' do
|
it 'returns false if proposals cannot be rated (program.rating == 0) ' do
|
||||||
program = conference.program
|
program = conference.program
|
||||||
program.rating = 3
|
program.rating = 0
|
||||||
expect(program.rating_enabled?).to be true
|
expect(program.rating_enabled?).to be false
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue