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
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
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
kikito
5b56336941
Fixes valuation features
2016-12-13 15:51:58 +01:00
kikito
2f446cf056
Renames "open" to "current" to avoid issues with existing method called "open"
2016-12-13 12:39:53 +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
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
Alberto Garcia Cabeza
87e7e7e4ea
fixes specs
2016-12-07 18:16:09 +01:00
kikito
b3be1633af
Fixes all management bi issues except filtering by geozone
2016-12-07 16:35:27 +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
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
kikito
dee409cfc8
Fixes budget_helper issues
2016-12-02 20:10:42 +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
kikito
f0b8cfd4a2
Time.now -> Time.current
2016-11-23 19:19:19 +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
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 Garcia Cabeza
6fd5e6a67a
unifies styles for participation not allowed
2016-10-31 16:50:13 +01:00
rgarcia
fe3451b4ba
fixes specs
2016-10-26 10:31:05 +02:00
Raimond Garcia
593e77147c
Merge pull request #1232 from usabi/custom_locales_load_fix
...
Fixes custom locales inclusion.
2016-10-06 16:47:31 +02:00
Marcia
680c0636ed
expired password last
2016-10-06 14:19:48 +02:00
Marcia
1f72c5cc74
improves expired password view
2016-09-30 10:10:20 +02:00
Marcia
4269f3810b
Merge remote-tracking branch 'upstream/master' into admin_password_expired
2016-09-27 13:26:08 +02:00
Marcia
78c6a30424
optimize code
2016-09-27 13:07:06 +02:00
Ignacio Aliende García
e4e2706af6
Fixes custom locales inclusion.
2016-09-20 17:34:26 +01:00
rgarcia
7d4d9b0ead
sorts archived proposals by votes
2016-09-16 19:42:18 +02:00