decabeza
1cc799ef11
Adds links to milestone description
2018-02-14 18:13:46 +01:00
Raúl Fuentes
ebebbdf078
Added bigger pool for random seeds, now with a 9 * 10e-07 % of chance of appearing, also added test to cover edge cases (case in fact, the coincidence of the seeds it's correct)
...
Conflicts:
app/controllers/budgets/investments_controller.rb
2018-02-08 16:33:15 +01:00
Raúl Fuentes
ae25fdfc15
fix for the flaky
2018-02-08 16:29:21 +01:00
Bertocq
67663804c5
Improve investments milestone scenario for ordering
...
Milestones should be listed ordered by publication date instead of
creation date. The spec was creating only one milestone and not even
expecting the descriptions to be present in the page.
2018-02-03 18:46:43 +01:00
BertoCQ
4020720b32
Merge pull request #2370 from consul/improve_budget_heading_style
...
Improve budget heading style
2018-01-31 02:35:51 +01:00
Bertocq
d6a6b99624
Fix rare flaky test, expect a price not just the number
2018-01-24 15:06:40 +01:00
Bertocq
e0abb86267
Update specs for new heading options naming rules
...
* Update budget heading order scenario to check new option name rules
* Update other scenarios that were expecting old heading naming convention
2018-01-24 14:15:10 +01:00
Raúl Fuentes
93268fc5d6
changed advanced filter from budgets to budgets/investments
2018-01-22 09:59:09 +01:00
Bertocq
808c4eddfc
Fix budget investment feature spec
2018-01-18 18:59:57 +01:00
Bertocq
a6b06ca730
Improve Budget's homepage
...
* Add budget's phases number status
* Add budget's headings and groups list
* Placeholders for future improvements
2018-01-17 19:11:58 +01:00
Bertocq
2fb1112066
Replace existing Time.zone.today.to_date for just Date.current
2018-01-17 00:45:30 +01:00
Bertocq
ca3d759d9f
Refactor Budget publishing prices phases constant to Budget::Phase model
2018-01-16 12:18:13 +01:00
Bertocq
66691b644a
Refactor Budget::PHASES constant to Budget::Phase::PHASE_KINDS
2018-01-16 12:18:13 +01:00
María Checa
b2054ac531
Improved relationable tests for budget investments
2018-01-12 18:26:37 +01:00
Bertocq
f350b99123
Remove deprecated investment test scenario for price explanation
2018-01-10 01:04:32 +01:00
Bertocq
1d6c3034cb
Add test scenarios to check investment price showing rules
2018-01-10 01:04:31 +01:00
María Checa
d8a6bb0f91
Changed tests
2018-01-09 00:09:50 +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
3e5b13ae4d
Enable RSpec/LetBeforeExamples cop & fix issues
...
Read about cop at http://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/LetBeforeExamples
2018-01-07 02:28:06 +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
f6aed3f9f1
Enable RSpec/ExpectActual cop and fix all issues
...
Always use a variable and not a literal as `expect` argument
Read about cop at http://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/ExpectActual
2018-01-07 01:55:38 +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
Bertocq
2105e985a8
Fix budget investment random order feature to generate just enough elements for pagination
2018-01-06 18:21:24 +01:00
Bertocq
91e14f22e8
Update milestone feature specs to reflect default title value changes
2017-12-15 18:22:05 +01:00
Raimond Garcia
9ba8ca7de3
Merge pull request #2187 from consul/notifications
...
Fix notifications' exceptions
2017-12-14 22:11:27 +01:00
Alberto García
1737f85398
Merge branch 'master' into aperez-dates-for-milestones
2017-12-14 20:50:55 +01:00
Alberto García
09b544774d
Merge pull request #2191 from wairbut-m2c/iagirre-add-documents-to-milestones
...
Add documents to milestones
2017-12-14 20:49:19 +01:00
rgarcia
2b52d26d82
refactors notifications into concerns and shared examples
2017-12-14 16:15:30 +01:00
BertoCQ
50b4f50eac
Merge branch 'master' into aperez-dates-for-milestones
2017-12-14 15:42:35 +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
Alberto García
19925de06b
Merge pull request #2170 from consul/design
...
Design improvements
2017-12-14 11:31:31 +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
decabeza
1d6877b797
adds setting allow_images to specs
2017-12-06 20:59:34 +01:00
iagirre
d118566234
Test changed to check the order when navigating through pages
2017-11-15 12:49:21 +01:00
iagirre
87f6f14d48
Bigger random seed range. Tests added to check the randomness between browsers
2017-11-15 11:50:06 +01:00
iagirre
f3527b1311
Test added to check the repetition of elements between pages when random order used. Scope variable initialized to 1
2017-11-15 09:01:35 +01:00
taitus
a0603985ef
Refactor.
2017-09-27 14:51:35 +02:00
taitus
51c53b6f31
Add missing specs from Maps on New, Edit and Show.
2017-09-27 14:50:54 +02:00
Senén Rodero Rodríguez
ce29185b76
Fix documentable on admin poll questions. Adapt nested documentable shared specs to admin fetaure specs and include at admin poll questions specs.
2017-09-26 13:57:13 +02:00
Senén Rodero Rodríguez
826385f659
Extract ajax upload and destroy_upload actions from images and documents controllers and place them at new controllers to manage direct uploads
2017-09-26 13:55:28 +02:00
Senén Rodero Rodríguez
16692c933e
Move specs from imageable shared feature spec to proposals and budget investments path.
2017-09-26 13:55:03 +02:00
Senén Rodero Rodríguez
ceabd16d57
Refactor. Create index scope inside imageable shared examples to check index action of any imageable model. Add image to proposals index.
2017-09-26 13:55:03 +02:00
Senén Rodero Rodríguez
3310089208
Add nested imageable shared spec to check nested images behavior at imageable any recipients.
2017-09-26 13:55:03 +02:00
Senén Rodero Rodríguez
6f71da07ee
Duplicate documentable code and rename for imageable
2017-09-26 13:55:03 +02:00
Bertocq
614ff79ba1
WIP
2017-09-26 13:53:43 +02:00
Senén Rodero Rodríguez
e7ac27a2b8
Add missing specs to check validation errors on new investmentand edit image pages.
2017-09-26 13:53:42 +02:00
Senén Rodero Rodríguez
c914c772c0
Add budget investment image dimmensions validator.
2017-09-26 13:53:42 +02:00
Senén Rodero Rodríguez
1327b7276d
Create investments helper. Fix indentation error and some specs names and structure.
2017-09-26 13:53:42 +02:00
Senén Rodero Rodríguez
4469aa9b32
Allow to remove budget investment image from edit image page to authors and administrators.
2017-09-26 13:53:42 +02:00