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 |
|
Bertocq
|
1441de5107
|
Enable RSpec/HookArgument cop and fix issues
To be consistent about before/after arguments, as `:each` or `:example`
are same and default scopes, best not to send an argument in those
scenarios.
Read about cop at http://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/HookArgument
|
2018-01-07 02:07:19 +01:00 |
|
Bertocq
|
ed16a78f42
|
Enables RSpec/ExampleWording and fixes all issues
Both avoiding 'should' and repiting 'it' on the tests description
improves reading them and also makes all descriptions consistent.
Read about cop at http://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/ExampleWording
|
2018-01-07 01:03:45 +01:00 |
|
Bertocq
|
265d4d0967
|
Enables RSpec/DescribedClass cop & fixes all issues
Autocorrection for existing issues, and stashing at .rubocop_todo.yml
the false positives
Read about cop at http://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/DescribedClass
|
2018-01-07 00:38:19 +01:00 |
|
rgarcia
|
2b52d26d82
|
refactors notifications into concerns and shared examples
|
2017-12-14 16:15:30 +01:00 |
|
rgarcia
|
abaf6ab785
|
adds model validations for legislation proposals
|
2017-12-13 12:52:25 +01:00 |
|
Bertocq
|
69f4e1c683
|
Fix all rubocop Metrics/LineLength issues (140+)
|
2017-07-10 13:22:49 +02:00 |
|
Bertocq
|
f6fe9cc7d2
|
Fix all Layout/SpaceAroundOperators rubocop issues and remove file list from rubocop_todo list
|
2017-06-26 18:04:20 +02:00 |
|
Bertocq
|
6529e37ae8
|
Fix all rubocop Rails/PluralizationGrammar issues and remove the file list form rubocop_todo file
|
2017-06-25 15:46:46 +02:00 |
|
Bertocq
|
c18d1b6e8f
|
Check new enabled? logic on both Legislation::Process Phase and Publication classes
|
2017-06-14 00:21:08 +02:00 |
|
Bertocq
|
990437dc40
|
Remove no longer used active/show/open _phase helper methods from Legislation Process, and specs
|
2017-06-13 22:04:36 +02:00 |
|
Bertocq
|
12dc7a4790
|
Add specs for Legislation::Process Phase and Publication enabled?/started?/open? methods
|
2017-06-13 22:04:36 +02:00 |
|
Bertocq
|
e55328caf4
|
Rename legislation process final_version_publication phase name to more descriptive result_publication
|
2017-06-13 22:04:36 +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 |
|
Amaia Castro
|
6737d6afdd
|
Make annotation context work with multi-node annotations
|
2017-02-10 18:16:09 +01:00 |
|
Amaia Castro
|
28de717300
|
Show only active phases
|
2017-02-09 17:32:38 +01:00 |
|
Fernando Blat
|
de13574617
|
Show link to the first question
|
2017-01-05 12:31:20 +01:00 |
|
Fernando Blat
|
814cf9df56
|
Show creation date and status in admin list
|
2017-01-05 10:22:40 +01:00 |
|
Amaia Castro
|
bc1905e5d9
|
Validate date ranges for legislation process
Only validates start and end dates for the whole process or a phase, not overlap between phases, as they are permitted, at least for now.
|
2017-01-04 18:13:28 +01:00 |
|
Amaia Castro
|
99e3afd6ca
|
Merge branch 'legislation-module-stable' into 13-draft-version-page
|
2017-01-03 09:28:26 +01:00 |
|
Amaia Castro
|
98b6dd75ea
|
Fix stack level too deep bug when deleting questions with answers
|
2017-01-02 20:45:20 +01:00 |
|
Amaia Castro
|
5627b18be2
|
Draft Version page
|
2017-01-02 18:05:15 +01:00 |
|
Amaia Castro
|
5e01b380cd
|
Legislation Answer model
|
2016-12-27 18:21:50 +01:00 |
|
Amaia Castro
|
36399277ec
|
Legislation Process page
|
2016-12-22 11:23:49 +01:00 |
|
Amaia Castro
|
d25d6c178c
|
Legislation Questions model and basic admin
|
2016-12-20 18:52:43 +01:00 |
|
Amaia Castro
|
e4fe499e66
|
DraftVersion base model and very basic admin pages
|
2016-12-06 12:10:20 +01:00 |
|
Amaia Castro
|
369804a2ba
|
Base Legislation::Process model and admin page
|
2016-12-05 13:24:23 +01:00 |
|