Commit Graph

6051 Commits

Author SHA1 Message Date
Bertocq
8b063a1bc1 Create spec for the new settings migration rake task 2017-06-07 20:56:49 +02:00
Bertocq
798b646135 Cleanup Settings values modified after specs are run 2017-06-07 20:55:42 +02:00
Bertocq
8d0e76bcd3 Add summary field to Legislative Processes factory and at dev_seed 2017-06-07 19:02:54 +02:00
decabeza
dcffa96d11 removes specs of deleted info pages 2017-06-07 18:53:23 +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
Juanjo Bazán
16edbf15a2 Merge pull request #1620 from consul/medialab-legislation
Adds Collaborative Legislation
2017-06-07 18:06:15 +02:00
rgarcia
792b15b224 Merges annotations 2017-06-07 14:58:34 +02:00
rgarcia
f66102abdc fixes specs 2017-06-07 10:32:25 +02:00
decabeza
0625b2093c updates tags spec, does not show on index views 2017-06-05 18:24:36 +02:00
decabeza
ea38f79442 removes specs of proposals successful banner 2017-06-05 17:55:37 +02:00
Bertocq
cf8bc486e4 Rename proposal_improvement_url to proposal_improvement_path to truly describe the value that the variable holds 2017-05-31 12:51:01 +02:00
Bertocq
a0bd158264 Add new expectations to Proposal Creation to check Share view, and scenario for proposal improvement info link presence 2017-05-31 10:59:31 +02:00
Bertocq
2e29eae471 Add click_link step to pass through Share Proposal view after proposal creation on specs 2017-05-31 10:59:31 +02:00
Bertocq
2a6b82288d Complete Proposal scenario for non-verified user with responsible_name expectaction 2017-05-31 10:59:31 +02:00
rgarcia
1a46b4d4cb fixes conflicts with master 2017-05-31 10:36:38 +02:00
Juanjo Bazán
1ae55a59f6 Merge pull request #1560 from bertocq/feature/admin_administrators_management
Administrators management in admin area
2017-05-30 10:44:50 +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
Juanjo Bazán
c4ca66fafc Merge pull request #1571 from bertocq/fix/poll_factory_name_generation
Fix Poll factory name generation to guarantee uniqueness
2017-05-30 10:39:43 +02:00
decabeza
0622ad1f24 polish budgets investment show back link 2017-05-29 18:01:22 +02:00
decabeza
599ef6e9da removes redundant spec 2017-05-29 14:35:57 +02:00
decabeza
7e0be26ad6 adds specs 2017-05-29 12:56:34 +02:00
Bertocq
1254f684fd Fix Poll factory name generation to guarantee uniqueness with SecureRandom.hex 2017-05-29 11:23:02 +02:00
Juanjo Bazán
8196d07cd6 Merge pull request #1567 from bertocq/fix/officing_recount_spec_flaky_test
Use a random word on the Poll factory name attribute
2017-05-26 17:46:19 +02:00
decabeza
75841a71be updates texts on specs 2017-05-26 17:28:04 +02:00
decabeza
0e581896c0 improves message when not enough money 2017-05-26 17:12:21 +02:00
Bertocq
6cda0d52d5 Use a random word on the Poll factory name attribute to avoid flaky tests 2017-05-25 12:28:53 +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
e9ea72113b Add spec scenario for current user trying to remove himself from administrators list 2017-05-25 11:28:36 +02:00
Juanjo Bazán
26b186a740 Merge pull request #1557 from bertocq/feature/newsletter_users_emails_zip
Allow admins to download Newsletter's users emails list in zip
2017-05-24 13:13:34 +02:00
Bertocq
4ab92731b6 Add expectations for newsletter users and non-newsletter users on email zip download scenario 2017-05-24 12:56:03 +02:00
Bertocq
9ba29fef8c Add feature scenario for Newsletter admin section, including email zip download 2017-05-24 12:23:05 +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
Bertocq
0df7235cc8 Add feature spec for new Administrators management in Admin area 2017-05-23 22:47:37 +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
Juanjo Bazán
bf8651febc Merge pull request #1555 from consul/budgets-results
Budget Results
2017-05-22 17:11:22 +02:00
decabeza
5e276175f1 updates texts on specs 2017-05-19 18:49:00 +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
6de0a45aa2 adds expectations for tag_list and organization_name fields 2017-05-19 12:38:28 +02:00
Juanjo Bazán
e922a11aa3 permits fields in management investment creation 2017-05-19 11:32:14 +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
Alberto
8167203e6e Merge pull request #1546 from consul/no-money-error
Fix no money error
2017-05-17 17:36:20 +02:00
rgarcia
47f97e342d extracts reclassification to a module 2017-05-17 15:18:39 +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
Juanjo Bazán
da43e9e2e4 adds spec for edge case 2017-05-17 13:03:46 +02:00
Alberto Miedes Garcés
d4752491f8 Fix timezones 2017-05-15 20:39:59 +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