Commit Graph

4494 Commits

Author SHA1 Message Date
Alberto Miedes Garcés
13273f4bc2 DRYed specs 2016-11-22 23:49:05 +01:00
Alberto Miedes Garcés
2271f6d634 Renamed GraphQL route, added support for GET requests 2016-11-22 15:22:27 +01:00
rgarcia
ceebae644f removes question column from poll_questions 2016-11-22 11:41:10 +01:00
rgarcia
84bafa8107 adds specs for poll state 2016-11-21 11:19:03 +01:00
rgarcia
0939479263 removes custom knapsack configuration 2016-11-20 11:58:31 +01:00
rgarcia
a0a4f3c38e removes time offset warning for parallel builds 2016-11-20 11:56:50 +01:00
rgarcia
f3512a4a6f tries to speed up build with knapsack 2016-11-19 20:13:51 +01:00
rgarcia
e12f183775 fixes typo 2016-11-19 14:03:10 +01:00
rgarcia
724dac4df2 cherry picks creating poll question from successful proposals 2016-11-18 21:09:28 +01:00
rgarcia
e21eb9d02c fixes admin poll question show spec 2016-11-18 20:30:26 +01:00
rgarcia
28e0c825f1 improves legibility of common abilities' spec 2016-11-18 20:10:58 +01:00
Alberto Miedes Garcés
7bb1778124 Finished tests for GraphQL queries for single resources 2016-11-18 19:57:07 +01:00
Alberto Miedes Garcés
8b30aaa6d4 Merge branch 'master' into api-dev 2016-11-18 16:40:33 +01:00
Alberto Miedes Garcés
860704d908 Rewrote tests to tackle more specific stuff 2016-11-18 16:27:15 +01:00
rgarcia
dd1e85d1c5 adds placeholder spec for comments 2016-11-17 22:48:12 +01:00
rgarcia
4955daf886 adds poll and poll question's specs 2016-11-17 22:48:00 +01:00
rgarcia
626a8e9154 updates specs for admin poll questions 2016-11-17 21:31:51 +01:00
Alberto Miedes Garcés
4e2a003931 Half-made tests for ConsulSchema 2016-11-17 17:54:02 +01:00
Alberto Miedes Garcés
96bfbbf9af Half-made tests for GraphQL::TypeCreator 2016-11-17 17:48:03 +01:00
Alberto Miedes Garcés
90d5034174 Half-made tests for GraphqlController 2016-11-17 17:47:09 +01:00
rgarcia
9b46a7fe8f tmp commit adds specs for admin poll questions 2016-11-17 11:52:51 +01:00
Enrique García
03f14e05dd Merge pull request #1262 from consul/flacky-spec
Tries to fix flacky spec 'change my credentials'
2016-11-15 11:43:07 +01:00
Raimond Garcia
14af1a1961 Merge pull request #1259 from consul/accessibility
Accessibility
2016-11-15 11:39:40 +01:00
rgarcia
4ac5e84044 tries to fix flacky spec 'change my credentials' 2016-11-15 11:24:59 +01:00
rgarcia
bb3c4c6399 adds consistency to ruby code style
Keep a blank line before and after private
Keep a blank line before and after protected
Remove extra empty line at class body end
Remove extra blank line
Add final newline
Use 2 (not 3) spaces for indentation
Use 2 (not 4) spaces for indentation
Remove space before comma
Add space after comma
Remove trailing whitespaces
Remove unnecessary spacing
Use snake_case for variable names
Do not use then for multi-line if
Remove unused block argument - i
Use the new Ruby 1.9 hash syntax
Remove unused assignment to variable
Indent when as deep as case
Align attributes
Align end with def
2016-11-15 11:18:43 +01:00
Alberto Garcia Cabeza
5e487bb85f fixes specs 2016-11-14 18:06:39 +01:00
Alberto Miedes Garcés
b10b701319 Started GraphQL::TypeCreator testing 2016-11-14 16:08:56 +01:00
kikito
13238e6a84 Merge branch 'polling' into polling-questions 2016-11-14 14:02:31 +01:00
Juanjo Bazán
7b3c9b725c fights a flaky spec 2016-11-14 13:58:19 +01:00
Juanjo Bazán
0dd122833a removes booths link from admin menu 2016-11-14 13:58:00 +01:00
rgarcia
5ba72f0fe3 assigns officers to booths 2016-11-14 13:58:00 +01:00
rgarcia
de330b1c02 adds booth info to poll show 2016-11-14 13:57:16 +01:00
rgarcia
63ccac963a adds booth backend for index, show, create and edit actions 2016-11-14 13:57:16 +01:00
rgarcia
6e6d2ac753 moves poll spec to poll folder 2016-11-14 13:56:49 +01:00
rgarcia
daac86a7a8 removes poll unused attributes 2016-11-14 13:56:49 +01:00
rgarcia
fda2f3c89e adds admin submit button helper 2016-11-14 13:56:49 +01:00
rgarcia
c1a9caeab0 adds poll CRU actions 2016-11-14 13:56:49 +01:00
rgarcia
304743f64e tmp commit poll index, show and new 2016-11-14 13:56:49 +01:00
rgarcia
ebb9a5fa1d fixes specs 2016-11-14 13:56:49 +01:00
rgarcia
1ac77fad7a adds spacing to factories 2016-11-14 13:56:49 +01:00
rgarcia
f0a7d19f72 removes officer factory 2016-11-14 13:56:49 +01:00
rgarcia
44df91346a validates voter in census 2016-11-14 13:51:59 +01:00
rgarcia
1ca821c520 creates polling officers from admin 2016-11-14 13:51:09 +01:00
kikito
1f9945d0aa Implements answering questions 2016-11-14 13:36:00 +01:00
kikito
38efad77f3 Changes the way question#copy_attributes_from_proposal works 2016-11-11 19:11:53 +01:00
kikito
e5e3fe32da Removes save_and_open_page from spec 2016-11-11 19:11:18 +01:00
kikito
219e139efb Adds poll_partial_result factory 2016-11-11 19:10:56 +01:00
kikito
048ada3e17 Adds poll partial result 2016-11-11 19:08:32 +01:00
kikito
4db6ae489f Adds new passing test to poll questions 2016-11-08 15:53:49 +01:00
kikito
6dd2b54123 Fixes bug in Poll::Question#answerable_by 2016-11-08 15:52:13 +01:00