Commit Graph

4247 Commits

Author SHA1 Message Date
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
4b92cf3acf Removes unused error messages from 18n 2016-12-25 12:57:46 +01:00
kikito
32710f57e1 Organization instead of organisation 2016-12-25 12:57:34 +01:00
kikito
adaa4731aa Uses complete path for partial 2016-12-25 12:57:15 +01:00
kikito
f1a550bdb0 Allows rendering budget investment header when the @heading variable is not set up 2016-12-25 12:57:01 +01:00
kikito
2815b28cd1 changes header message to include assigned heading link 2016-12-25 12:56:31 +01:00
kikito
9af8eb8d52 Changes i18n namespace for errors 2016-12-25 12:55:39 +01:00
kikito
53233c365a Adds a new reason for not being ballotable 2016-12-25 12:55:03 +01:00
kikito
e15377b7d8 Load @assigned_heading in addition to loading @heading 2016-12-25 12:54:48 +01:00
kikito
ef0acaf20f Only creates ballot when budget balloting 2016-12-25 12:54:32 +01:00
kikito
3fd1993f74 only creates ballots when budget balloting 2016-12-25 12:54:07 +01:00
kikito
2fab251593 adds i18n entries 2016-12-25 12:53:27 +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
kikito
767c537883 Fixes 1 spec in investments_spec 2016-12-23 18:37:14 +01:00
kikito
bbb8ac830c Fixes erroneous i18n param in view 2016-12-23 18:37:02 +01:00
kikito
de1ade0eb8 Fixes erroneous link in view 2016-12-23 18:36:42 +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
9e0007ba35 renames i18n entry 2016-12-23 15:38:31 +01:00
kikito
0578fb5479 Fixes errors when adding investments to ballots in specs 2016-12-23 15:38:21 +01:00
kikito
615217e36e Fixes errors in header view 2016-12-23 15:37:55 +01:00
kikito
a589d8a76d Simplifies ballot.add_investment using automatic denormalization 2016-12-23 15:37:32 +01:00
kikito
21f396faaa Fixes budget model specs using :selected & automatic line denormalization 2016-12-23 15:23:31 +01:00
kikito
f125941bbf Tweaks unselected error in ballot/line 2016-12-23 15:22:19 +01:00
kikito
b5c25cb6ce Starts working on the budget/ballot_spec 2016-12-22 20:28:07 +01:00
kikito
bb1258f2b2 Fixes view 2016-12-22 20:27:46 +01:00
kikito
44758c9278 Fixes spec 2016-12-22 20:27:29 +01:00
kikito
cd72b7e537 Renames i18n param 2016-12-22 20:27:16 +01:00
kikito
eb648b7269 Adds missing parameters to partials 2016-12-22 20:27:01 +01:00
kikito
7acedb30f6 fixes parenthesis 2016-12-22 20:26:39 +01:00
kikito
54bd5aeeb1 adds @budget param to apply_filters_and_search 2016-12-22 20:26:21 +01:00
kikito
260b9aa1e4 loads @investment_ids in ballot lines controller 2016-12-22 20:25:41 +01:00
kikito
15fade5660 loads ballot in budget_investments_controller 2016-12-22 20:25:17 +01:00
kikito
430507ec1e Adds budget_lines.selected 2016-12-22 20:24:59 +01:00
kikito
688f52bb62 Renames supports to allow_participation 2016-12-22 20:23:48 +01:00
kikito
a73626d712 Refactors and simplifies ballot/lines_controller.rb 2016-12-19 19:11:45 +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
be2543cf61 Uncomments ability section 2016-12-19 19:03:46 +01:00
kikito
36ffa1922e Adds supports.js.coffee 2016-12-19 19:03:18 +01:00
kikito
bb28fe5107 Fixes issue when voting 2016-12-16 19:12:31 +01:00
kikito
9fe8358a14 Simplifies spec using automatic denormalization 2016-12-16 18:28:24 +01:00
kikito
ff13dee918 Fixes incorrect path & params in bi controller 2016-12-16 18:03:36 +01:00
kikito
3bada69dd0 sets up the @investments variable n investments_controller 2016-12-16 18:03:14 +01:00
kikito
a52ea70c3d Fixes honeypot-related issues in specs 2016-12-16 18:02:43 +01:00