Commit Graph

6051 Commits

Author SHA1 Message Date
kikito
46901a8117 Refactors ballots_spec by removing repeated lines 2016-12-25 20:58:57 +01:00
kikito
9081810a92 Removes parameters using automatic denormalization 2016-12-25 20:38:27 +01:00
kikito
a0d79992df refactors repetitive declarations out of ballots_spec 2016-12-25 20:29:43 +01:00
kikito
f9045cf95a refactors repetitive declarations in specs 2016-12-25 20:01:28 +01:00
kikito
b1e45bfe2d refactor spec to reutilize user variable 2016-12-25 19:29:13 +01:00
kikito
3ac7d88737 Makes spec/features/budgets/ballots_spec pass 2016-12-25 12:58:22 +01:00
kikito
7089d965d5 Removes unused common actions 2016-12-25 12:57:57 +01:00
kikito
8e4bd43069 Makes the selected trait also mark projects feasible and valuation_finished 2016-12-24 14:43:12 +01:00
kikito
03ef20bfde Merges orders_helper functionality inside has_orders concern
Both these objects where using/setting a variable called valid_orders.
As a results, some specs where becoming flacky
(features/budgets/investments_spec.rb, balloting phase). By putting
them together, there is no `valid_orders` variable any more (everything
is @valid_orders) and the flackyness is gone.
2016-12-24 14:42:46 +01:00
Juanjo Bazán
d057c9457d Merge branch 'master' into signature-sheets 2016-12-23 20:23:56 +01:00
Juanjo Bazán
8b4f519d71 adds booth assignation to admin poll 2016-12-23 19:06:55 +01:00
Juanjo Bazán
89979e549f adds search to Booth model 2016-12-23 19:06:55 +01:00
rgarcia
ddeca6f06d fixes specs 2016-12-23 19:05:25 +01:00
kikito
767c537883 Fixes 1 spec in investments_spec 2016-12-23 18:37:14 +01:00
kikito
0cb0775872 Uses selected instead of valuation_finished in investment_spec 2016-12-23 18:36:19 +01:00
kikito
56b19b257d Uses add_to_ballot in a bunch of specs 2016-12-23 18:35:25 +01:00
kikito
4589ba5f0b Fixes incorrect implementation of add_to_ballot common action 2016-12-23 18:34:42 +01:00
Amaia Castro
de5df61359 Legislation question comments spec 2016-12-23 15:40:52 +01:00
kikito
0578fb5479 Fixes errors when adding investments to ballots in specs 2016-12-23 15:38:21 +01:00
kikito
21f396faaa Fixes budget model specs using :selected & automatic line denormalization 2016-12-23 15:23:31 +01:00
Alberto Garcia Cabeza
dc27514fa7 updates texts on specs 2016-12-23 14:41:42 +01:00
kikito
b5c25cb6ce Starts working on the budget/ballot_spec 2016-12-22 20:28:07 +01:00
kikito
44758c9278 Fixes spec 2016-12-22 20:27:29 +01:00
kikito
430507ec1e Adds budget_lines.selected 2016-12-22 20:24:59 +01:00
Alberto Garcia Cabeza
151db53a9b fixes specs 2016-12-22 19:06:11 +01:00
Amaia Castro
368430d914 Legislation Question page 2016-12-22 16:00:28 +01:00
Amaia Castro
959b36caa8 Add more specs for process page (phases) 2016-12-22 13:21:44 +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
298c9cb76a adds better spec for poll dates 2016-12-21 14:00:21 +01:00
Juanjo Bazán
bc690748fd adds dates validation to polls 2016-12-21 13:50:15 +01:00
Fernando Blat
e872f2d626 Merge pull request #33 from medialab-prado/25-legislation-questions
Legislation Questions model and basic admin
2016-12-21 08:50:28 +01:00
Amaia Castro
92a13b0f77 Merge branch 'master' into legislation-module-stable 2016-12-20 20:03:04 +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
Alberto Garcia Cabeza
3f394d099d fixes specs 2016-12-20 11:41:24 +01:00
kikito
8839b26dd0 Fixes almost all investments_spec 2016-12-19 19:11:22 +01:00
kikito
eb5291d8a6 Fixes budgets/votes_spec 2016-12-19 19:10:49 +01:00
kikito
9fe8358a14 Simplifies spec using automatic denormalization 2016-12-16 18:28:24 +01:00
Amaia Castro
a4055a1578 Legislation processes home page 2016-12-16 17:59:44 +01:00
Alberto Garcia Cabeza
10c44a077b updates specs 2016-12-16 15:19:04 +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
kikito
366a3e7552 simplifies factories now that we have denormalization in investment and ballot lines 2016-12-15 18:18:31 +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
Fernando Blat
13a23d8383 Merge pull request #12 from PopulateTools/store-processed-html-from-markdown
Store DraftVersion processed html
2016-12-14 12:07:15 +01:00
Amaia Castro
8c9cfa8b3f Merge branch 'master' into legislation-module-stable 2016-12-14 11:48:28 +01:00