diff options
author | Code Raguet <ignacio.code@gmail.com> | 2013-09-05 00:29:14 (GMT) |
---|---|---|
committer | Code Raguet <ignacio.code@gmail.com> | 2013-09-05 00:29:14 (GMT) |
commit | 75396049e5d72e9ab956084bab15e79bd00e671d (patch) | |
tree | 531657c381375eacbde39e1ca1c709655763d0be | |
parent | 373564853caf633e50bb4ab022d910c8e6f0395d (diff) |
unimplemented scenario for replying a validation BUG
-rw-r--r-- | webapp/webapp/features/upload_poll_result.feature | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/webapp/webapp/features/upload_poll_result.feature b/webapp/webapp/features/upload_poll_result.feature index 76e861e..d295069 100644 --- a/webapp/webapp/features/upload_poll_result.feature +++ b/webapp/webapp/features/upload_poll_result.feature @@ -14,8 +14,15 @@ Feature: Upload .poll_result files And "valid.poll_result" has the time string "31/12/1999 23:59hs" Scenario: Upload .poll_result file authored by other pollster - Given I am a pollster: "encuestador1" - And "not_mine.poll_result" is authored by "other_pollster" - When I visit the "upload" page - And I upload "not_mine.poll_result" - Then I should see a message that says "not_mine.poll_result" and "no pertence a una encuesta realizada por usted" + Given I am a pollster: "encuestador2" + And "valid.poll_result" is authored by "encuestador2" + And "not_mine.poll_result" is authored by "encuestador1" #other_pollster + When I visit the "upload" page + And I upload: + | file | + | valid.poll_result | + | not_mine.poll_result | + Then I should see a message that says "no pertence a una encuesta realizada por usted" + And I should see a message that says "Usuario esperado: encuestador1" + And I should see a message that says "not_mine.poll_result" + And There is no new .poll_result on server |