María Checa
feff9fff0f
LocalCensus model created
2017-07-08 19:56:10 +02:00
Raimond Garcia
22d28d9c79
Merge branch 'master' into issue#1575-tag-administration
2017-06-29 19:09:54 +02:00
Bertocq
c9bc028524
Remove all unnecesary extra spacing and Layout/ExtraSpacing list from rubocop file
2017-06-28 14:12:51 +02:00
Bertocq
775da2d581
Remove all Layout/EmptyLines issues on code and file list from rubocop_todo
2017-06-28 14:12:51 +02:00
Bertocq
2fa92937d2
Fix all Style/BracesAroundHashParameters rubocop issues and remove them from rubocop_todo list
2017-06-28 14:12:51 +02:00
Bertocq
1c8e039862
Fix all Layout/SpaceInsideParens rubocop issues and remove files from rubocop_todo list
2017-06-26 18:06:01 +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
e6dd33bd66
Fix all Layout/SpaceAfterComma issues and remove from rubocop_todo list
2017-06-26 17:57:53 +02:00
Bertocq
6562d8b9d8
Fix all Layout/SpaceBeforeFirstArg rubocop issues and remove from rubocop_todo list
2017-06-26 17:57:53 +02:00
Bertocq
80bcf38dc5
Fix all Layout/TrailingWhitespace rubocop issues and remove from rubocop_todo list
2017-06-26 17:57:53 +02:00
Raimond Garcia
6e60f5acde
Merge pull request #1680 from consul/chore/small_rubocop_cleanup
...
Chore/small rubocop cleanup
2017-06-26 17:42:10 +02:00
Bertocq
d759aca522
Fix all Rails/TimeZone rubocop issues and remove files from rubocop_todo list
2017-06-25 15:46:46 +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
taitus
2fe663ef8f
Fix syntax and indentation errors.
2017-06-24 22:38:48 +02:00
taitus
f220952883
Add CRUD Milestone on Admin::BudgetInvestment. Rename Checkpoint to Milestone.
2017-06-24 22:38:48 +02:00
taitus
beeb5412d7
New Checkpoint model. Update factories. Model specs.
2017-06-24 22:38:48 +02:00
Eduardo Martinez Echevarria
a600dcbb36
Replace category factory in tags with a trait
2017-06-23 17:34:55 +02:00
Raimond Garcia
09a2f2b795
Merge pull request #1660 from consul/fix/rubocop_issues
...
Fix some Rubocop issues
2017-06-20 21:49:59 +02:00
Juanjo Bazán
315c57929a
allows managers to create users without email
...
allows managers to create users without email
hides email preferences from account page for email-less users
prevents email delivery to users with no email
adds spec for user creation from management
adds specs for user's email requirement
adds spec for no deliveries if no email
2017-06-19 13:02:48 +02:00
Bertocq
b104765ddc
Rubocop autocorrect Lint/BlockAlignment and remove from rubocop_todo list
2017-06-19 10:45:18 +02:00
Bertocq
d1a050fa4d
Fix shared example group rspec warning because of file name ended with _spec
2017-06-16 01:28:43 +02:00
Juanjo Bazán
9ab0f9cf8b
Merge branch 'master' into amiedes-api-dev-PRs-2
2017-06-14 12:46:58 +02:00
Raimond Garcia
ae82a563d6
Merge pull request #1651 from consul/fix/direct_message_today_scope
...
Fix DirectMessage today scope
2017-06-14 11:42:54 +02:00
Bertocq
cc0146e372
Use Time in utc on direct message specs when changing created_at directly
2017-06-14 01:17:32 +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
kikito
1701111bf5
Merge branch 'api-dev-PRs' of https://github.com/amiedes/consul into amiedes-api-dev-PRs-2
2017-06-13 12:07:28 +02:00
Bertocq
798b646135
Cleanup Settings values modified after specs are run
2017-06-07 20:55:42 +02:00
rgarcia
1a46b4d4cb
fixes conflicts with master
2017-05-31 10:36:38 +02:00
Juanjo Bazán
6fd50d96c0
Merge pull request #1566 from bertocq/fix/recount_spec_flaky_test
...
Avoid creating objects, on poll recount spec, with fixed id numbers
2017-05-30 10:42:52 +02:00
decabeza
0e581896c0
improves message when not enough money
2017-05-26 17:12:21 +02:00
Bertocq
3dde935051
Avoid creating objects, on poll recount spec, with fixed id numbers
...
This was generating a flaky test that sometimes generated a unique key value constraint violation
2017-05-25 11:58:18 +02:00
Bertocq
9e74249b02
Always use Time.current (aliases internally to Time.zone.now)
...
Some specs where breaking close to midnight because 30.years.ago uses zone.now and Time.now.utc.to_date doesn't.
Also this will make all codebase consistent in the way time is deal with
2017-05-24 07:54:57 +02:00
decabeza
5e0d5fc8c3
Merge branch 'legislation-module-stable' of https://github.com/medialab-prado/consul into medialab-legislation
2017-05-22 18:43:49 +02:00
rgarcia
0b68f3c619
cleans up
2017-05-19 14:07:30 +02:00
rgarcia
65eb2bb160
adds budget result specs
2017-05-19 14:04:46 +02:00
Juanjo Bazán
f0d7acd087
Merge pull request #1550 from consul/budgets-unfeasible
...
Investments reclassified as unfeasible
2017-05-18 14:37:32 +02:00
rgarcia
a63ca9649e
cleans up
2017-05-17 20:32:05 +02:00
Juanjo Bazán
d08af6193e
changes unselected scope to include undecided feasibility
2017-05-17 15:13:29 +02:00
rgarcia
42f62e5c36
stores reclassified votes
2017-05-17 15:13:28 +02:00
Alberto Miedes Garcés
ad8aba0739
Revised public fields, wrote more exhaustive specs
2017-05-15 20:22:11 +02:00
rgarcia
84f63c7a6f
fixes specs
2017-05-14 19:19:05 +02:00
rgarcia
62b2f4812b
fixes false positive when storing previous heading id
2017-05-14 11:38:05 +02:00
rgarcia
1ca16d9d40
removes votes from reclassified investments
2017-05-13 13:10:04 +02:00
Alberto Miedes Garcés
5d9054d284
Merge branch 'master' into api-dev-PRs
...
Conflicts:
Gemfile.lock
config/routes.rb
db/dev_seeds.rb
db/schema.rb
2017-05-11 21:59:42 +02:00
Juanjo Bazán
04b95df696
Merge pull request #1514 from consul/budgets-ballot-db-constraint
...
Adds DB constraint to avoid duplicate balloted investments
2017-05-10 12:29:46 +02:00
Juanjo Bazán
33e8ebf043
adds balloting_or_later? method to Budget
2017-05-09 17:27:58 +02:00