Commit 35562a74c247828da5853b81f92161b0e91f477f
Committed by
Rafael Manzo
1 parent
db32e704
Exists in
colab
and in
4 other branches
Fixed acceptance test for invalid grade
Signed-off-by:Pedro Bruel <pedro.bruel@gmail.com>
Showing
1 changed file
with
2 additions
and
1 deletions
Show diff stats
features/reading/new.feature
| @@ -52,7 +52,7 @@ Feature: New reading | @@ -52,7 +52,7 @@ Feature: New reading | ||
| 52 | And I fill the Grade field with "z" | 52 | And I fill the Grade field with "z" |
| 53 | And I fill the Color field with "00000ff00" | 53 | And I fill the Color field with "00000ff00" |
| 54 | When I press the Save button | 54 | When I press the Save button |
| 55 | - Then I should see "1 error prohibited this Reading from getting saved" | 55 | + Then I should see "Grade is not a number" |
| 56 | And I should be at the New Reading page | 56 | And I should be at the New Reading page |
| 57 | 57 | ||
| 58 | @kalibro_restart | 58 | @kalibro_restart |
| @@ -67,3 +67,4 @@ Feature: New reading | @@ -67,3 +67,4 @@ Feature: New reading | ||
| 67 | When I press the Save button | 67 | When I press the Save button |
| 68 | Then I should see "1 error prohibited this Reading from getting saved" | 68 | Then I should see "1 error prohibited this Reading from getting saved" |
| 69 | And I should be at the New Reading page | 69 | And I should be at the New Reading page |
| 70 | + |