Allow a value of 0 for max attempts. STUD-264.

This commit is contained in:
cahrens
2013-06-10 11:51:25 -04:00
parent 3fe830a803
commit b0b3062a20
2 changed files with 2 additions and 2 deletions

View File

@@ -52,7 +52,7 @@ Feature: Problem Editor
Scenario: User cannot type out of range values in an integer number field
Given I have created a Blank Common Problem
And I edit and select Settings
Then if I set the max attempts to "-3", it displays initially as "-3", and is persisted as "1"
Then if I set the max attempts to "-3", it displays initially as "-3", and is persisted as "0"
Scenario: Settings changes are not saved on Cancel
Given I have created a Blank Common Problem