kikito
c6648ec39a
Fixes investment_spec and adds one more check for selected
2016-12-25 21:04:19 +01:00
Juanjo Bazán
89979e549f
adds search to Booth model
2016-12-23 19:06:55 +01:00
Amaia Castro
de5df61359
Legislation question comments spec
2016-12-23 15:40:52 +01:00
kikito
21f396faaa
Fixes budget model specs using :selected & automatic line denormalization
2016-12-23 15:23:31 +01:00
Amaia Castro
36399277ec
Legislation Process page
2016-12-22 11:23:49 +01:00
rgarcia
0deba76db1
adds specs
2016-12-21 18:46:38 +01:00
Juanjo Bazán
bc690748fd
adds dates validation to polls
2016-12-21 13:50:15 +01:00
Amaia Castro
d25d6c178c
Legislation Questions model and basic admin
2016-12-20 18:52:43 +01:00
rgarcia
b10dbd7cb5
adds specs
2016-12-20 18:00:36 +01:00
rgarcia
d09348ee49
adds specs
2016-12-20 16:46:20 +01:00
rgarcia
76723070e2
adds pending specs
2016-12-20 12:21:45 +01:00
kikito
d986702161
Activates and fixes specs in budget/ballot_spec
2016-12-15 18:19:55 +01:00
kikito
411cd674ff
Activates and refactors budget/ballot/line_spec
2016-12-15 18:18:49 +01:00
Amaia Castro
e4315f94c8
Merge branch 'master' into legislation-module-stable
2016-12-15 11:26:22 +01:00
Raimond Garcia
392f00cdbd
Merge pull request #1282 from amiedes/crud-geozones-PRs
...
[Finished] Allow admins to manage geozones
2016-12-14 19:25:17 +01:00
Amaia Castro
8c9cfa8b3f
Merge branch 'master' into legislation-module-stable
2016-12-14 11:48:28 +01:00
Alberto Miedes Garcés
db029964fa
Check geozone 'safe_to_delete' behavior as unit test instead of integration test
2016-12-13 18:38:13 +01:00
Alberto Miedes Garcés
efade39412
Added specs for User 'public_activity' scope
2016-12-13 14:40:22 +01:00
rgarcia
d7e73b8abb
fixes specs
2016-12-12 19:11:00 +01:00
rgarcia
39fd031780
adds specs
2016-12-12 19:11:00 +01:00
Juanjo Bazán
6aa96c4471
removes mentions to enquiries and deprecated code
2016-12-07 14:48:44 +01:00
Juanjo Bazán
45d26f6dee
refactors poll::voter
...
now belongs_to booth_assignment instead of to booth
2016-12-06 20:20:18 +01:00
Amaia Castro
e4fe499e66
DraftVersion base model and very basic admin pages
2016-12-06 12:10:20 +01:00
Amaia Castro
369804a2ba
Base Legislation::Process model and admin page
2016-12-05 13:24:23 +01:00
kikito
2a2179d0f3
Merge branch 'master' into budget
2016-11-28 11:41:49 +01:00
rgarcia
66f4289e9c
fixes conflicts with poll-questions
2016-11-28 11:18:32 +01:00
rgarcia
d3a35971cd
fixes spec
2016-11-24 20:37:03 +01:00
kikito
f0b8cfd4a2
Time.now -> Time.current
2016-11-23 19:19:19 +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
28e0c825f1
improves legibility of common abilities' spec
2016-11-18 20:10:58 +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
kikito
13238e6a84
Merge branch 'polling' into polling-questions
2016-11-14 14:02:31 +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
c1a9caeab0
adds poll CRU actions
2016-11-14 13:56:49 +01:00
rgarcia
44df91346a
validates voter in census
2016-11-14 13:51:59 +01:00
kikito
38efad77f3
Changes the way question#copy_attributes_from_proposal works
2016-11-11 19:11:53 +01:00
kikito
048ada3e17
Adds poll partial result
2016-11-11 19:08:32 +01:00
kikito
d39f19abb8
Defines Poll::Question#answerable_by?(user) and uses it in abilities
2016-11-07 16:28:39 +01:00
kikito
f821d7beb7
Implements abilities for poll & poll_question
2016-11-07 10:37:22 +01:00
kikito
85aba10798
Initial work in Poll::Question
2016-10-28 18:02:28 +02:00
rgarcia
fe3451b4ba
fixes specs
2016-10-26 10:31:05 +02:00
Juanjo Bazán
db7b2ef8af
Merge branch 'master' into polling-views-plus
2016-10-19 13:50:08 +02:00
rgarcia
2c3127b6bd
adds booth backend for index, show, create and edit actions
2016-09-28 11:56:19 +02:00
rgarcia
042cb14dbd
moves poll spec to poll folder
2016-09-28 11:53:54 +02:00
rgarcia
0795da02d8
adds poll CRU actions
2016-09-25 10:21:16 +02:00
rgarcia
0ec3a8e8bf
validates voter in census
2016-09-19 18:47:17 +02:00
Juanjo Bazán
8d48eccfed
adds not_archived scope to proposal
2016-09-13 12:10:31 +02:00
Juanjo Bazán
da03311f99
archived proposals can not accept votes
2016-09-12 18:47:56 +02:00