Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/webapp
diff options
context:
space:
mode:
authorCode 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)
commit4d72dcb1a82f5aa0088c97fd761a033832fc0207 (patch)
tree9c126639281334f85dddc574aabc6856915cbca4 /webapp
parent9a1c2fa3b99812209324b508930a444d570b772c (diff)
Add Feature: Researcher can't modify poll's structure
Diffstat (limited to 'webapp')
-rw-r--r--webapp/webapp/features/cannot_modify_poll_structure.feature12
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"