kikito
de4706ffd4
Refactors votes_spec
...
* Some backgrounds created variables which were never used (@debates).
This made the tests fail when the debate orders changed.
* Some backgrounds visited pages when they didn’t need to
* Pablo and Manuela are now created at the beginning
2015-09-04 11:53:22 +02:00
Juanjo Bazán
bbf96259fc
adds controller check for anonymous votes
2015-09-01 17:49:02 +02:00
rgarcia
bea38226fe
fixes spacing
2015-08-16 22:45:43 +02:00
David Gil
d134284774
background is the new before(:each)
2015-08-12 14:59:54 +02:00
David Gil
1ee3378768
adding a few tests
2015-08-12 14:59:54 +02:00
David Gil
caa0c3eaab
change background by before(:each) in tests - background is evil!
2015-08-12 14:59:22 +02:00
rgarcia
4dd7e14ac4
moves featured debates to home page
2015-08-11 17:26:25 +02:00
Juanjo Bazán
e34ae1a805
adds tests for :js vote specs
2015-08-07 09:21:29 +02:00
Juanjo Bazán
33489e7b0c
adds css classes to voted options in debates
...
for logged users.
Closes #88
2015-08-06 18:53:05 +02:00
rgarcia
ec6d34a49f
fixes conflicts
2015-08-06 13:42:57 +02:00
Juanjo Bazán
64f5c4e7f1
shows "0%" when there's zero votes
...
Closes #97
2015-08-05 17:56:14 +02:00
rgarcia
dda5963641
adds spec for voting a featured debate [ #25 ]
2015-08-05 13:50:15 +02:00
rgarcia
c2e7ff32b1
adds spec for voting from debate index [ #25 ]
2015-08-05 12:24:22 +02:00
rgarcia
cce6ca2fb9
adds feature specs [ #25 ]
2015-08-02 13:37:50 +02:00
rgarcia
8a642d3c96
fixes specs [ #47 ]
2015-07-28 20:53:09 +02:00
Juanjo Bazán
e9c1910d7d
adds i18n to debates' interface
2015-07-28 16:48:36 +02:00
rgarcia
137267887c
fixes specs
2015-07-27 23:21:15 +02:00
rgarcia
49ee8d0397
removes spec focus
2015-07-18 20:37:51 +02:00
rgarcia
090890f1ef
adds votes feature specs [ #9 ]
2015-07-18 18:10:36 +02:00