Angel Perez
463c753880
Recommendations are automatically disabled if dismissed by user
2018-07-15 21:28:58 -04:00
Angel Perez
0b7967440f
Recommendations for users are enabled by default
2018-07-15 21:28:58 -04:00
Angel Perez
0ac6033ff6
Refactor recommendations specs to improve DRYness
2018-07-15 21:28:57 -04:00
Angel Perez
251441e109
Users can now hide recommendations
2018-07-15 21:28:57 -04:00
Angel Perez
4275069a1e
Include tests for recommendations feature
2018-07-15 21:28:57 -04:00
decabeza
36a5ff39b8
Adds recommendations on debates index
2018-07-15 21:28:57 -04:00
decabeza
0bf31bde6c
Updates all active to is-active classes
2018-06-06 12:02:13 +02:00
decabeza
c4dc7bc831
Adds view mode on debates
2018-04-02 17:28:39 +02:00
Angel Perez
ea21fe859b
Format dates with .strftime('%d/%m/%Y') when filling datepickers
...
Advanced search scenarios for Budget::Investments, Debates and
Proposals need proper date formatting as they behave unexpectedly
when APIs such as `7.days.ago` are used
2018-03-27 14:47:49 -04:00
iagirre
ffd6bdb3d7
first changed for click_link so that the test can wait the capybara default time.
2018-03-04 22:58:35 +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
97c5490995
Fix unnecesary spacing
2018-01-07 01:58:45 +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
María Checa
4192860a73
Added and improved related content tests
2017-12-18 23:56:44 +01:00
rgarcia
2b52d26d82
refactors notifications into concerns and shared examples
2017-12-14 16:15:30 +01:00
Bertocq
ce0a7f6fad
Rubocop autocorrections
2017-10-17 22:00:00 +02:00
Senén Rodero Rodríguez
92c774cdeb
Merge with master
2017-09-28 13:36:20 +02:00
Bertocq
ca35c8b85c
Fix Style/NestedParenthesizedCalls rubocop issues
2017-09-25 22:47:59 +02:00
Bertocq
22822aa173
Fix Style/RedundantParentheses rubocop issues
2017-09-25 22:44:58 +02:00
taitus
6e2063310f
Add empty recommended messages text.
2017-08-04 13:27:03 +02:00
taitus
edbbe6174b
Refactor specs because now recommendations only return results asociated to user interests
2017-08-03 00:23:06 +02:00
taitus
52e3610876
Minimum required by consul core. Remove comments. Fix texts. Decrease size of methods.
2017-08-02 00:15:03 +02:00
taitus
33e13dbfd0
Add missing feature and model specs on proposal and debates.
2017-08-01 18:00:02 +02:00
Senén Rodero Rodríguez
bb4e4dc084
Fix almost all broken specs
2017-08-01 16:28:01 +02:00
Bertocq
69f4e1c683
Fix all rubocop Metrics/LineLength issues (140+)
2017-07-10 13:22:49 +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
6529e37ae8
Fix all rubocop Rails/PluralizationGrammar issues and remove the file list form rubocop_todo file
2017-06-25 15:46:46 +02:00
Bertocq
798b646135
Cleanup Settings values modified after specs are run
2017-06-07 20:55:42 +02:00
Amaia Castro
5ee2c9efa0
Add telegram to footer and to social share button
2017-04-05 13:07:08 +02:00
Juanjo Bazán
652aff4e19
adds validation for custom dates in advanced search
...
avoids error 500 on invalid dates
2017-03-27 12:18:45 +02:00
Juanjo Bazán
a771408f4b
Merge pull request #1336 from aspgems/bug_filter_advance_search
...
Fixes values of official_level options for selects in search filters.
2017-01-13 11:00:00 +01:00
Juanma
68b2f6d9c4
Fixes specs.
2017-01-13 07:44:57 +01:00
rgarcia
fd28f6c2b3
adds tags to investment
2017-01-08 11:37:02 +01:00
Alberto Garcia Cabeza
3f394d099d
fixes specs
2016-12-20 11:41:24 +01:00
Alberto Garcia Cabeza
7ef9bafbf9
fixes specs of remove link on debates and proposals description
2016-12-07 18:42:56 +01:00
kikito
f0b8cfd4a2
Time.now -> Time.current
2016-11-23 19:19:19 +01:00
rgarcia
bb3c4c6399
adds consistency to ruby code style
...
Keep a blank line before and after private
Keep a blank line before and after protected
Remove extra empty line at class body end
Remove extra blank line
Add final newline
Use 2 (not 3) spaces for indentation
Use 2 (not 4) spaces for indentation
Remove space before comma
Add space after comma
Remove trailing whitespaces
Remove unnecessary spacing
Use snake_case for variable names
Do not use then for multi-line if
Remove unused block argument - i
Use the new Ruby 1.9 hash syntax
Remove unused assignment to variable
Indent when as deep as case
Align attributes
Align end with def
2016-11-15 11:18:43 +01:00
kikito
9ac6e2d60b
Uses invisible_captcha's default "foo fast" action
2016-04-28 12:47:04 +02:00
kikito
289182b145
Adds invisible_captcha to proposals, debates & sps
2016-04-27 16:12:32 +02:00
kikito
dea1a28a69
purges simple_captcha
2016-04-27 16:07:47 +02:00
Juanjo Bazán
5dd4d2a80a
improves spec
...
scopes css element search to the main area, ignoring sidebar
2016-04-26 11:18:01 +02:00
Juanjo Bazán
198f6c96bd
adds & refactors specs for featured debates
2016-04-25 17:59:42 +02:00
MaiteHdezRivas
c86f3516db
correct text in the test
2016-04-21 11:30:45 +02:00
MaiteHdezRivas
68f9a76cea
Mark debates as featured
2016-03-20 13:56:05 +01:00
Alberto Garcia Cabeza
1722645e6b
Updates specs
2016-03-08 14:00:07 +01:00
Raimond Garcia
2a4adc2e60
Merge pull request #817 from microweb10/friendly_urls
...
Friendly urls
2016-03-02 17:51:00 +01:00
Julian Herrero
80edc4f613
add feature test for debates friendly urls
2016-03-02 16:01:34 +01:00
kikito
f5989915fc
replaces css selectors by text selectors in advanced_search feature specs to make them less flacky
2016-02-24 12:46:56 +01:00