Commit Graph

73 Commits

Author SHA1 Message Date
rgarcia
2b52d26d82 refactors notifications into concerns and shared examples 2017-12-14 16:15:30 +01:00
rgarcia
1259d473c6 fixes spec 2017-10-23 22:13:53 +02:00
rgarcia
21c7ff15fe fixes routes for poll's results and stats 2017-10-23 21:39:59 +02:00
decabeza
aa7dbaa9c4 replace eq200 to text content on specs 2017-10-23 20:13:11 +02:00
decabeza
e11957a91c adds specs for poll title link 2017-10-23 19:56:39 +02:00
María Checa
f7dce94a45 Added tests for Poll results and stats views 2017-10-23 15:50:53 +02:00
María Checa
bb06af3877 Improved results tests 2017-10-20 16:49:25 +02:00
María Checa
8be8bb07f9 Added first poll results tests 2017-10-19 12:17:49 +02:00
iagirre
f7bb3ec8b7 Merge remote-tracking branch 'consul/master' into iagirre-poll-stats 2017-10-18 09:48:02 +02:00
iagirre
73365ad9d2 Added spects to check de stats model and view 2017-10-18 09:34:17 +02:00
BertoCQ
d3fb4e2615 Merge pull request #2066 from consul/poll-voting
Adds spec for user voting in booth and then verifying account
2017-10-17 21:21:12 +02:00
rgarcia
6b7d38c27a adds spec for user voting in poll and then verifying account 2017-10-17 15:00:34 +02:00
BertoCQ
db7c80ef13 Merge pull request #2021 from consul/fixed-already-voted-message
Fixed already voted message in poll show
2017-10-17 14:42:46 +02:00
María Checa
712151b395 Tests improvements 2017-10-17 13:17:20 +02:00
Bertocq
c8568d16aa Fix wrongful expectation on add video to answer scenario 2017-10-17 13:13:51 +02:00
María Checa
e1e9b431d7 Added tests 2017-10-16 20:10:49 +02:00
BertoCQ
a476019c49 Merge pull request #2020 from consul/poll-videos
Poll answer videos
2017-10-16 20:03:34 +02:00
rgarcia
c2dcad79b3 adds video spec 2017-10-16 17:14:40 +02:00
decabeza
279adaa00d starts with polls show answers with video specs 2017-10-16 13:14:44 +02:00
decabeza
c9a3bcc65a adds admin polls answer video specs 2017-10-16 13:14:15 +02:00
decabeza
f94a376392 updates text on specs 2017-10-13 14:16:46 +02:00
rgarcia
c097cf236c updates specs 2017-10-13 12:41:43 +02:00
Bertocq
34c278db74 Small fixes for Poll Question Answer ordering 2017-10-11 12:05:20 +02:00
iagirre
943c1f23af Spects added to test the order of answers. Default order for question_answers set. 2017-10-10 16:38:55 +02:00
Raimond Garcia
e9276037f9 Merge pull request #2009 from consul/votable_by_fix
Fixed already-answered logic
2017-10-07 18:21:05 +02:00
María Checa
8b2f6d454c Show poll answers in poll show view after voting on a booth
If the user votes in a booth, it can see the poll and answers but can't see what he/she voted and the answers are inactive (no link, inactive ui style).
2017-10-07 17:33:27 +02:00
María Checa
b19953b38f Added tests 2017-10-07 17:06:53 +02:00
Raimond Garcia
2e4ce39722 Merge pull request #1994 from consul/feature/1985#voting_token
Voter Answer unique Token
2017-10-07 16:54:01 +02:00
María Checa
84e35edca7 Added new tests for vote token 2017-10-07 16:16:39 +02:00
Bertocq
a487159e39 Add scenario for user that voted on booth can't vote on website 2017-10-07 00:53:21 +02:00
Bertocq
cb15428742 Add scenario for re-voting after sing out the same answer 2017-10-06 19:57:31 +02:00
Raimond Garcia
936ffa1fb6 Merge pull request #1993 from consul/1984-voting_messages
Voting messages
2017-10-06 17:57:17 +02:00
María Checa
305b5dcf07 Fixed test 2017-10-06 14:45:44 +02:00
María Checa
089c1fecfd Added tests 2017-10-06 13:37:24 +02:00
Alberto García
806fd85246 Merge pull request #1990 from consul/polls-gallery
Polls Gallery
2017-10-05 21:44:38 +02:00
rgarcia
82735ae2de spacing 2017-10-05 19:27:10 +02:00
rgarcia
6327bcb343 adds specs for answer's gallery 2017-10-05 19:15:17 +02:00
BertoCQ
1e22108431 Merge pull request #1980 from wairbut-m2c/iagirre-polls-show
Specs added for branch polls-show in consul and thumbnail for poll im…
2017-10-05 00:52:08 +02:00
Bertocq
895fc96bee Correct voter feature spec scenario name 2017-10-05 00:39:05 +02:00
BertoCQ
ababdd0368 Merge pull request #1979 from consul/fix/shift_creation_polls
Fixes on Polls Shifts
2017-10-04 22:40:53 +02:00
Raimond Garcia
1b58b7851b Merge branch 'master' into fix/shift_creation_polls 2017-10-04 20:14:08 +02:00
rgarcia
24fc7ab70a makes answer creation spec more robust 2017-10-04 20:10:49 +02:00
Bertocq
c62b573489 Fix poll Voter feature spec 2017-10-04 17:59:29 +02:00
rgarcia
007bcb7ec7 fixes specs 2017-10-04 17:46:25 +02:00
iagirre
4035097c60 Specs added for branch polls-show in consul and thumbnail for poll images in admins views.
Cambios para hacer commit:
	modificado:    app/views/images/_admin_image.html.erb
	modificado:    spec/features/admin/poll/polls_spec.rb
	modificado:    spec/features/polls/polls_spec.rb
2017-10-04 16:43:35 +02:00
rgarcia
1f2aa301d4 adds specs for answer's index and create 2017-10-04 16:33:52 +02:00
María Checa
5b7a90221a Fixed tests 2017-10-04 11:18:09 +02:00
María Checa
80c8fa308f Merge branch 'master' into 1954-remove_question_show_and_description 2017-10-03 22:33:08 +02:00
María Checa
81e9682aa3 Fixed tests 2017-10-03 22:30:15 +02:00
Bertocq
825671ad9b Fix polls answer this question show text 2017-10-03 18:53:44 +02:00