Bertocq
8eaf0982b1
Fixed Admin Budget's destroy button to a link
...
Why:
The Admin Budget form has a submit button for saving the record, adding
another submit input to destroy the record actually adds to the html:
`<input type="hidden" name="_method" value="delete">` and it collides
with the save button, forcing it to perform a destroy instead of save.
Previously the destroy button was not in the same div as the save button
How:
Just changing the Destroy from a button_to to a link_to.
2018-01-20 14:03:14 +01:00
María Checa
94279448f3
Replaced 'participatory budget' with 'budget'
2018-01-20 14:03:14 +01:00
María Checa
2fd53d6394
Added admin budget phases tests
2018-01-20 14:03:13 +01:00
Angel Perez
10fac6d2d1
Admins can delete an answer's associated images ( #1999 )
2018-01-19 15:29:18 -04:00
María Checa
4d97d349a1
Added tests for alert
2018-01-17 19:11:48 +01:00
Bertocq
2fb1112066
Replace existing Time.zone.today.to_date for just Date.current
2018-01-17 00:45:30 +01:00
Bertocq
a2b950d8de
Fix to_not to not_to on rspec expectations
2018-01-17 00:03:23 +01:00
BertoCQ
61f52b3483
Merge pull request #2293 from wairbut-m2c/aperez-fix-deprecation-warnings
...
Fix for test suite deprecations warnings
2018-01-15 18:23:42 +01:00
Raimond Garcia
b0bd7792be
Merge pull request #1917 from wairbut-m2c/iagirre-admin-budget-heading-action
...
Actions for budgets' headings added. Edit headings, delete headings i…
2018-01-11 13:47:27 +01:00
Bertocq
2f27a86034
Replace deprecated capybara only_path option for ignore_query
2018-01-11 00:07:56 +01:00
Bertocq
db051beabc
Fix to_not to not_to on spec
2018-01-10 22:43:52 +01:00
iagirre
0e11e21b2a
Merged with master and solved conflicts
2018-01-10 13:23:39 +01:00
María Checa
02f7e423fe
Improved tests
2018-01-10 13:03:52 +01:00
Angel Perez
9a0eca73d7
Fix: Deprecation warnings when running test suite ( #2287 )
2018-01-09 17:54:46 -04:00
Raúl Fuentes
29018e3062
changes made at the request of voodoorai2000
2018-01-09 13:08:03 +01:00
Raúl Fuentes
b3461b2051
final details
2018-01-09 12:45:30 +01:00
Raúl Fuentes
4f096a005d
more style corrections
2018-01-09 12:45:30 +01:00
Raúl Fuentes
d7cc5d14c6
fixed test
2018-01-09 12:45:30 +01:00
Raúl Fuentes
56f4c3c3b9
added test to csv download and style corrections
2018-01-09 12:45:30 +01:00
María Checa
c27e6ab1d1
Merge pull request #2223 from wairbut-m2c/iagirre-prevent-edition-if-budget-final-phase
...
Prevent edition of investments if budget is in the final phase
2018-01-09 12:18:23 +01:00
BertoCQ
6e96c8c057
Merge branch 'master' into feature/2275#destroy_budgets
2018-01-09 11:03:51 +01:00
BertoCQ
01c41c7cca
Merge pull request #2284 from consul/feature/2276#admin_budget_edit_redirect
...
Redirect admin to budget lists after edit
2018-01-09 10:50:54 +01:00
Bertocq
63694b5bae
Increase admin budget feature spec for drafting phase
2018-01-08 22:52:56 +01:00
Bertocq
53842ba919
Add Update scenario to admin budget feature spec
2018-01-08 18:46:50 +01:00
Bertocq
51e3d75c62
Add destroy scenario to budget section of admin panel
2018-01-08 17:48:06 +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
7f14544f71
Enable Capybara/CurrentPathExpectation cop & fix issues
...
Read cop description http://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/Capybara/CurrentPathExpectation to better understand reasons behind enforcing this rule
On some cases the `only_path: true` was needed as argument of `have_current_path` matcher to avoid comparing the url parameters and just checking the path.
2018-01-06 23:31:41 +01:00
iagirre
64aaa97d86
Add feature specs to check that edit links and "Selected" buttons are not displayed/enabled.
...
"Selected" button appears as text instead of dissapearing completely.
2017-12-27 16:23:21 +01:00
Bertocq
c2b5083d4f
Fix missing and extra spacing
2017-12-16 17:59:16 +01:00
Bertocq
91e14f22e8
Update milestone feature specs to reflect default title value changes
2017-12-15 18:22:05 +01:00
Alberto García
1737f85398
Merge branch 'master' into aperez-dates-for-milestones
2017-12-14 20:50:55 +01:00
iagirre
ff50dc1a00
Add feature specs to test new admin features and documents' show in users view
2017-12-14 13:53:03 +01:00
Angel Perez
1e1028dcb4
Adapt existing milestone-related specs to fit the new requirement
2017-12-13 20:17:54 -04:00
iagirre
59a4b93a00
Add I18n texts for milestone images.
...
Add specs to test admin image uploader and milestones' show.
Modify the UI to fit the mockups provided in the issue.
2017-12-13 14:03:46 +01:00
Raimond Garcia
11e80fbc92
Merge pull request #1903 from wairbut-m2c/aperez-enable-disable-proposals
...
Add enable/disable option for 'Proposals' feature
2017-12-08 11:41:13 +01:00
María Checa
f9e65b0f80
Merge pull request #2102 from wairbut-m2c/iagirre-admin-poll-stats
...
Iagirre admin poll stats
2017-11-29 20:07:53 +01:00
Raimond Garcia
9e12d67f3f
Merge pull request #2114 from wairbut-m2c/iagirre-booth-assignment-removal
...
Iagirre booth assignment removal
2017-11-28 19:59:20 +01:00
BertoCQ
104a26db35
Merge pull request #2110 from wairbut-m2c/aperez-remove-valuator-role
...
Add option to unassign Valuator role
2017-11-21 16:34:16 +01:00
BertoCQ
ae71f4960b
Merge pull request #2068 from ortegacmanuel/add-investment-user-tags-admin-interface
...
Add investment user tags admin interface
2017-11-19 14:42:01 +01:00
Angel Perez
6e28e9a5be
Add test for 'Delete Valuator' scenario
2017-11-17 13:12:26 -04:00
Angel Perez
ab9d612128
'Proposals' feature can be enabled/disabled
...
Fixes #1886
2017-11-17 13:10:55 -04:00
iagirre
4819d1b74e
Enabled one test disabled to run in local
2017-10-30 16:55:13 +01:00
iagirre
4b8a471d38
Specs added to test the functionality and some UI modified to make test pass
2017-10-30 16:50:25 +01:00
decabeza
4b7a0358e5
improves admin managers views
2017-10-25 18:50:30 +02:00
decabeza
2131c651f6
improves admin valuators views
2017-10-25 18:47:26 +02:00
decabeza
0f4c03e407
improves admin moderators views
2017-10-25 18:43:19 +02:00
decabeza
1e49265288
improves admin administrators views
2017-10-25 18:40:17 +02:00
Angel Perez
cd8cf42294
'Add to valuators' option added to Valuators search view
2017-10-25 10:38:54 -04:00
Angel Perez
91aa6e3302
Enable search by name/email for Managers
2017-10-25 10:16:21 -04:00
Angel Perez
59c97b4db7
Enable search by name/email for Valuators
2017-10-25 10:16:21 -04:00