Javi Martín
307cf24846
Use describe on feature tests
...
The `type: :feature` is automatically detected by RSpec because these
tests are inside the `spec/features` folder. Using `feature` re-adds a
`type: :feature` to these files, which will result in a conflict when we
upgrade to Rails 5.1's system tests.
Because of this change, we also need to change `background` to `before`
or else these tests will fail.
2019-05-28 16:36:54 +02:00
Julian Herrero
c82b2a975a
Add new settings tab for participation processes
...
- Rename setting keys
- New tab por participation processes
- Hide these settings from features tab
2019-03-19 19:45:32 +01:00
decabeza
840348a839
Replace legislation processes text to collaborative legislation
2019-02-25 14:22:29 +01:00
decabeza
32d4495a88
Replace created at date to start and end date on admin legislation processes
2019-02-20 13:32:22 +01:00
decabeza
0d834744fd
Replace open to active filter on admin legislation processes index
...
Now active filter show open processes and the next ones, processes with a start date greather than current date.
2019-02-20 13:32:09 +01:00
Julian Herrero
31ac8b7f55
Change single quotes to double quotes
2019-02-15 11:40:39 +01:00
Alberto
9475a0c6ee
Merge pull request #3249 from consul/custom-pages
...
Refactor processes header colors and custom pages
2019-01-30 20:05:20 +01:00
decabeza
2695e19e2f
Fix hound warnings
2019-01-29 17:54:02 +01:00
Julian Nicolas Herrero
81b65ec821
Merge pull request #3202 from consul/sort_legislation_processes_by_start_date
...
Sort Legislation Processes by descending start date
2019-01-29 17:30:02 +01:00
Manu
abcb96ffda
added test spec for creation of legislative process with image
2019-01-22 16:32:05 -05:00
Julian Herrero
33d6f6c18d
Sort Legislation Processes by descending start date
2019-01-22 18:51:22 +01:00
Alberto
b701a86c1b
Merge pull request #3105 from consul/draft-processes
...
[Backport] Draft phase on legislation processes
2018-12-13 15:53:11 +01:00
decabeza
df221b43a0
Fixes hound warnings on legislation processes
2018-12-12 18:23:11 +01:00
Javi Martín
449f810255
Edit only existing languages in milestones summary
...
Adding languages using this form would result in validation errors since
there's no way to fill in the title for the new translation.
2018-12-12 15:15:01 +01:00
Javi Martín
a42f5fab37
Add milestones summary to legislation processes
2018-12-11 20:19:48 +01:00
Javi Martín
03dc43a500
Manage legislation process milestones
2018-12-11 20:18:53 +01:00
João Lutz
34b58a5208
Adds draft phase functionality in legislation processes
2018-11-19 22:18:50 -02:00
Javi Martín
5bfc7ca2e3
Update legislation process translatable fields
2018-10-22 15:46:16 +02:00
Javi Martín
4d238c5d07
Fix crash updating legislation process categories
...
We were expecting translation parameters in legislation processes
`update` action. However, those parameters aren't sent when we get to
that action through the "proposals" tab.
2018-09-19 14:54:52 +02:00
Marko Lovic
d78aea1fd3
Make Legistlation Processes translatable
2018-09-19 14:54:24 +02:00
Angel Perez
19b0c410da
Remove JS driver usage for legislation/processes#update scenarios
2018-09-10 11:45:29 -04:00
Bertocq
34bb9d65b1
Enable RSpec/NotToNot cop and fix all issues
...
Read about cop at http://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/NotToNot
2018-01-07 17:39:48 +01:00
Eduardo Martinez Echevarria
0bc318c823
Add tests to check visibility of processes depending on published attribute
2017-06-30 15:08:23 +02:00
Bertocq
8440f6c749
Increase coverage of admin feature spec for legislation process dates enabling
2017-06-14 08:52:11 +02:00
Bertocq
1dac73eb48
Fix debate phase checkbox name on admin legislation process feature spec, as well as expectations
2017-06-14 00:29:15 +02:00
Bertocq
0c27f1ffde
Rename Legislation Process final_publication_date field to more descriptive result_publication_date
2017-06-13 22:04:36 +02:00
Bertocq
2c82eec0fd
Remove target and how_to_participate columns from legislation_processes table, no longer used
2017-06-11 00:04:50 +02:00
Bertocq
02d31953be
Remove Target field from Legislative Process from views, i18n, factories and specs
2017-06-10 23:16:13 +02:00
Bertocq
d624a08abc
Remove How To Participate field from Legislative Process from views, i18n, factories and specs
2017-06-10 23:11:55 +02:00
Bertocq
a33341ec52
Increase admin legislative process feature spec to also check detail and list views
2017-06-07 18:43:34 +02:00
rgarcia
f66102abdc
fixes specs
2017-06-07 10:32:25 +02:00
Fernando Blat
04ad8bb6c7
Refactor JS and add update test
2017-02-10 09:48:28 +01:00
Amaia Castro
0cd2b62e2c
Integrate admin html and css from sandbox
2016-12-30 11:00:34 +01:00
Amaia Castro
369804a2ba
Base Legislation::Process model and admin page
2016-12-05 13:24:23 +01:00