Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCode Raguet <ignacio.code@gmail.com>2013-09-05 21:25:15 (GMT)
committer Code Raguet <ignacio.code@gmail.com>2013-09-05 21:28:18 (GMT)
commit3f91546ba427087040070e9475c2bf1744c0c86f (patch)
tree6e78a9339b091ca8f830f00b64ac004e70dec7d5
parent5fa1f0ede8a7732adec5643c3142f1976e13e3c2 (diff)
move scenario "download .poll_result files" to his own feature file
-rw-r--r--webapp/webapp/features/download_poll_result_file.feature12
-rw-r--r--webapp/webapp/features/poll_result_details.feature8
2 files changed, 12 insertions, 8 deletions
diff --git a/webapp/webapp/features/download_poll_result_file.feature b/webapp/webapp/features/download_poll_result_file.feature
new file mode 100644
index 0000000..97acd08
--- /dev/null
+++ b/webapp/webapp/features/download_poll_result_file.feature
@@ -0,0 +1,12 @@
+Feature: Link to download .poll_result file
+ As a reasearcher
+ I want to be able to download a .poll_result of a poll
+ So that I can analyse it as it is
+
+ Scenario: One .poll_result uploaded
+ Given I am a researcher
+ And "poll1" is "Cerrada"
+ And "encuestador1" is binded to "poll1"
+ And with "simple.poll_result" uploaded by "encuestador1" on "31/12/2000 23:59hs"
+ When I visit the "Resultados" page for "poll1" poll
+ Then I should see link to "simple.poll_result" \ No newline at end of file
diff --git a/webapp/webapp/features/poll_result_details.feature b/webapp/webapp/features/poll_result_details.feature
index f279e3e..def7179 100644
--- a/webapp/webapp/features/poll_result_details.feature
+++ b/webapp/webapp/features/poll_result_details.feature
@@ -15,11 +15,3 @@ Feature: Poll result details
| NĂºmero de escuela | Nombre de Encuestador | Cantidad de Encuestados | Nombre del Archivo .polls_results | Time Stamp |
| 1 | encuestador1 | 1 | simple.poll_result | 31/12/2000 24:00hs |
| 1 | encuestador2 | 2 | simple2.poll_result | 01/01/2001 00:01hs |
-
- Scenario: One .poll_result uploaded
- Given I am a researcher: "researcher1"
- And "poll2" is "Cerrada"
- And "encuestador3" is binded to "poll2"
- And with "simple.poll_result" uploaded by "encuestador3" on "31/12/2000 24:00hs"
- When I visit the "Resultados" page for "poll2" poll
- Then I should see link to "simple.poll_result" \ No newline at end of file