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
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
kikito
5b56336941
Fixes valuation features
2016-12-13 15:51:58 +01:00
Alberto Miedes Garcés
419905fb59
Set expectations for flash inside admin geozones spec
2016-12-13 13:25:38 +01:00
kikito
2f446cf056
Renames "open" to "current" to avoid issues with existing method called "open"
2016-12-13 12:39:53 +01:00
Alberto Miedes Garcés
2a3dfdd595
Refactor admin geozones specs
2016-12-13 12:33:58 +01:00
rgarcia
6b0f8eb62b
do not allow verification of deregistered accounts
2016-12-12 19:11:00 +01:00
kikito
f4130047b2
Fixes spec and removes flackyness from tests
2016-12-12 18:52:12 +01:00
kikito
2e8650c324
merge with master
2016-12-12 16:09:05 +01:00
Alberto Miedes Garcés
0e1cea48c4
Fixed admin edit geozone spec
2016-12-08 13:17:05 +01:00
Alberto Miedes Garcés
93e79228a7
Ability to delete geozones from admin dashboard
2016-12-08 13:16:42 +01:00
Alberto Miedes Garcés
fea2009396
Ability to edit geozones from admin dashboard
2016-12-07 22:08:22 +01:00
Juanjo Bazán
ca98206ca3
fixes spec
2016-12-07 19:27:44 +01:00
kikito
748fd8becf
Makes all tests pass in bi management
2016-12-07 19:16:37 +01:00
Alberto Garcia Cabeza
7ef9bafbf9
fixes specs of remove link on debates and proposals description
2016-12-07 18:42:56 +01:00
kikito
b3be1633af
Fixes all management bi issues except filtering by geozone
2016-12-07 16:35:27 +01:00
Juanjo Bazán
6aa96c4471
removes mentions to enquiries and deprecated code
2016-12-07 14:48:44 +01:00
kikito
2760e751e7
fixes several specs
2016-12-06 20:09:17 +01:00
kikito
e793a0d8e1
Adapts management::budget_investments to new budgets
2016-12-06 18:05:58 +01:00
Juanjo Bazán
ad2dd7d267
adds officer-polls relation and spec
2016-12-06 14:51:53 +01:00
Juanjo Bazán
891516a0b9
changes officer assignments to polls via new model/relation
2016-12-06 14:33:06 +01:00
Juanjo Bazán
60e7ac20e7
tweaks admin/polls pages and specs
2016-12-06 13:51:14 +01:00
kikito
83fe74d530
Adds .js-class for specs
2016-12-05 17:33:20 +01:00
kikito
09539028a2
Replaces "search by district" by "search by heading". Fixes typo in spec
2016-12-05 11:27:04 +01:00
Alberto Miedes Garcés
6175990533
Admin geozones: index, create
...
Modified Geozone factory and seeds to be more complete
2016-12-04 21:19:36 +01:00
Juanjo Bazán
0d9fb9e8a8
fix flaky spec
2016-12-04 00:23:19 +01:00
Juanjo Bazán
9d2bf95172
fix js flaky specs
2016-12-03 23:43:50 +01:00
kikito
dee409cfc8
Fixes budget_helper issues
2016-12-02 20:10:42 +01:00
Juanjo Bazán
418b0a4801
adds extra expectations to spec
...
to include items from the new admin menu
2016-12-02 14:29:37 +01:00
Juanjo Bazán
f67f058b57
adds complete Booth management to admin
2016-12-02 14:28:39 +01:00
Juanjo Bazán
6d1aca4d67
fixes new admin menu related specs
2016-12-02 14:26:18 +01:00
kikito
00cfb95913
Starts fixing management budget investments
2016-12-01 16:31:05 +01:00
kikito
2a2179d0f3
Merge branch 'master' into budget
2016-11-28 11:41:49 +01:00
rgarcia
b76e1b5992
removes obsolete spec
2016-11-24 20:37:09 +01:00
kikito
f0b8cfd4a2
Time.now -> Time.current
2016-11-23 19:19:19 +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
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
rgarcia
9b46a7fe8f
tmp commit adds specs for admin poll questions
2016-11-17 11:52:51 +01:00
Raimond Garcia
14af1a1961
Merge pull request #1259 from consul/accessibility
...
Accessibility
2016-11-15 11:39:40 +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
kikito
1f9945d0aa
Implements answering questions
2016-11-14 13:36:00 +01:00
kikito
e5e3fe32da
Removes save_and_open_page from spec
2016-11-11 19:11:18 +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
kikito
506cf0dd70
Refactors polls_controller using answerable_by. Implements more specs
2016-11-07 17:43:53 +01:00