Javi Martín
307cf24846
Use describe on feature tests
...
The `type: :feature` is automatically detected by RSpec because these
tests are inside the `spec/features` folder. Using `feature` re-adds a
`type: :feature` to these files, which will result in a conflict when we
upgrade to Rails 5.1's system tests.
Because of this change, we also need to change `background` to `before`
or else these tests will fail.
2019-05-28 16:36:54 +02:00
Julian Herrero
31ac8b7f55
Change single quotes to double quotes
2019-02-15 11:40:39 +01:00
María Checa
81e9682aa3
Fixed tests
2017-10-03 22:30:15 +02:00
María Checa
fb5211f251
Fixed test
2017-09-07 17:51:55 +02:00
María Checa
27ac4c5815
Added poll questions documents and video specs
...
New tests to ensure video URL is shown in the admin preview. Also that the video URL and documents are correctly saved after creating a question.
2017-09-07 17:19:07 +02:00
kikito
e6fd615adf
uses Poll::Question#author_visible_name in question/show
2017-02-07 12:09:19 +01:00
Alberto Garcia Cabeza
b13b27dcaa
removes answers on polls questions show specs
2017-01-30 22:06:01 +01:00
rgarcia
6c34599e1e
adds officer residence check and user voting
2017-01-29 00:36:20 +01:00
Juanjo Bazán
51be80eedc
removes answer <-> voter association
2017-01-27 11:59:37 +01:00
kikito
47abeff7fa
fixes specs
2017-01-26 11:39:25 +01:00
kikito
183f8432eb
Merge branch 'polls' into polls-question-show
2017-01-26 11:36:34 +01:00
kikito
d8b54d2adc
fixes question specs
2017-01-25 18:43:30 +01:00
Juanjo Bazán
b13a76963a
records participation of user via web
...
answering a poll question creates a voter with the user data to record
participation in question’s poll
2017-01-25 14:21:03 +01:00
Juanjo Bazán
6bc4f5b307
adds Poll::Answer model for web users
...
PartialResults is kept for booth results
2017-01-25 12:46:44 +01:00
kikito
15b531f068
Fixes failing specs
2017-01-24 18:10:41 +01:00
Juanjo Bazán
6aa96c4471
removes mentions to enquiries and deprecated code
2016-12-07 14:48:44 +01:00
rgarcia
4955daf886
adds poll and poll question's specs
2016-11-17 22:48:00 +01:00