Javi Martín
ec18743251
Authorize resource after authenticating user
...
Just like it's done everywhere else in the application. Not doing so
means users who aren't logged in receive a "you aren't authorized"
message when they try to create a new legislation proposal instead of
being redirected to the login page.
2018-10-03 22:06:20 +02:00
María Checa
388c1a9bd9
Improved tests
2018-10-03 16:02:41 +02:00
María Checa
d73be15296
Added tests
2018-10-03 16:02:41 +02:00
Javi Martín
86aa56b5e8
Fix flaky legislation processes specs
...
They were failing if executed right before midnight. If the process is
created right before midnight and then the date changes, when we visit
the process path the phase will aready be open.
2018-09-19 14:24:09 +02:00
decabeza
b93543cbf9
Shows message only if there is questions on legislation debate
2018-04-27 18:24:53 +02:00
decabeza
f2e5f6ff76
Adds specs for additional info button
2018-03-07 17:18:55 +01:00
Bertocq
4f6597b200
Enable RSpec/RepeatedDescription cop & fix all issues
...
Read about cop at http://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/RepeatedDescription
2018-01-07 17:45:34 +01: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
Bertocq
fa017b664f
Enables RSpec/EmptyLineAfterFinalLet cop & fixes all issues
...
Read about cop at http://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/EmptyLineAfterFinalLet
2018-01-07 00:49:37 +01:00
Manuel Ortega
b8a45eda58
Added legislation process documents
...
New test to ensure document is shown in process show
2017-10-19 12:10:54 +02:00
Eduardo Martinez Echevarria
0bc318c823
Add tests to check visibility of processes depending on published attribute
2017-06-30 15:08:23 +02:00
Eduardo Martinez Echevarria
3e5c5d7e49
Define some actions on legislation processes as member actions
2017-06-30 15:08:23 +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
Fernando Blat
0c5063add9
Show message when there aren't processes
2017-01-05 09:36:08 +01:00
Amaia Castro
2b6df62dd7
Refactor process phases pages
2017-01-04 14:02:25 +01:00
Amaia Castro
368430d914
Legislation Question page
2016-12-22 16:00:28 +01:00
Amaia Castro
959b36caa8
Add more specs for process page (phases)
2016-12-22 13:21:44 +01:00
Amaia Castro
36399277ec
Legislation Process page
2016-12-22 11:23:49 +01:00
Amaia Castro
a4055a1578
Legislation processes home page
2016-12-16 17:59:44 +01:00