mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
Wrong test: proposal cannot be rated
This commit is contained in:
parent
11f6f36f09
commit
32ed3b6373
1 changed files with 3 additions and 3 deletions
|
|
@ -10,10 +10,10 @@ describe Program do
|
|||
expect(program.rating_enabled?).to be true
|
||||
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.rating = 3
|
||||
expect(program.rating_enabled?).to be true
|
||||
program.rating = 0
|
||||
expect(program.rating_enabled?).to be false
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue