diff options
author | Code Raguet <ignacio.code@gmail.com> | 2013-09-25 15:22:54 (GMT) |
---|---|---|
committer | Code Raguet <ignacio.code@gmail.com> | 2013-09-25 15:23:06 (GMT) |
commit | 4d72dcb1a82f5aa0088c97fd761a033832fc0207 (patch) | |
tree | 9c126639281334f85dddc574aabc6856915cbca4 /webapp | |
parent | 9a1c2fa3b99812209324b508930a444d570b772c (diff) |
Add Feature: Researcher can't modify poll's structure
Diffstat (limited to 'webapp')
-rw-r--r-- | webapp/webapp/features/cannot_modify_poll_structure.feature | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/webapp/webapp/features/cannot_modify_poll_structure.feature b/webapp/webapp/features/cannot_modify_poll_structure.feature new file mode 100644 index 0000000..0659af7 --- /dev/null +++ b/webapp/webapp/features/cannot_modify_poll_structure.feature @@ -0,0 +1,12 @@ +Feature: Researcher can't modify poll's structure + As a Researcher + I want to not be able to modify a poll's structure + when a poll has results + So that there is no chance to get mixed results from a poll + + Scenario: a poll with results + Given I am logged in as "Researcher" + And "poll" exists + And "poll" has "simple.poll_result" + When I visit the "Modificar estructura" page for "poll" poll + Then I should see a message that says "no puede modificar" |