kikito
98e9e8de0f
Fixes errors in specs related to changes in budget phases
2017-01-02 10:37:37 +01:00
kikito
451179fa59
fixes issues with valuating in specs
2017-01-02 08:22:11 +01:00
kikito
ecb3461a97
Renames Budget::VALID_PHASES to just PHASES
2017-01-01 13:16:22 +01:00
kikito
d80dedaad8
Adds sanitized descriptions for all phases to budget model
2017-01-01 12:51:17 +01:00
kikito
fa50e3f215
Adds new phases to budget and fixes specs
2016-12-30 18:43:15 +01:00
Alberto Garcia Cabeza
73e3ea3560
fixes specs
2016-12-29 19:16:20 +01:00
kikito
d2356c18d0
Adds toggle_selection action
2016-12-28 19:11:59 +01:00
kikito
6e5de228fd
fixes failing spec due to merge with master
2016-12-27 18:52:37 +01:00
kikito
9d97421b0e
Merge branch 'master' into budgets
2016-12-27 14:02:12 +01:00
kikito
d8b2e703ca
marks spec as pending
2016-12-27 13:15:22 +01:00
rgarcia
af7d71ccfd
Merge branch 'signature-sheets' of github.com:AyuntamientoMadrid/participacion into signature-sheets
2016-12-26 11:14:56 +01:00
kikito
2c396f83a7
makes spec less likely to fail by increasing the number of random stuff generated in a random sorting
2016-12-25 23:45:58 +01:00
kikito
84418bd671
Fixes issue in has_orders concern
2016-12-25 22:58:21 +01:00
kikito
c6648ec39a
Fixes investment_spec and adds one more check for selected
2016-12-25 21:04:19 +01:00
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
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
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
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
rgarcia
0deba76db1
adds specs
2016-12-21 18:46:38 +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
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
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