Javi Martín
74927f4ed6
Make Capybara check the page between comment votes
...
As pointed out in PR consul#2734:
"After clicking the first link, there's an AJAX request which replaces
the existing `.in-favor a` and `.against a` links with new elements. So
if Capybara tries to click the existing `.against a` link at the same
moment it's being replaced, clicking the link won't generate a new
request".
Making Capybara check the page for new content before clicking the
second link solves the problem.
This commit solves issues afecting both Madrid's fork and the original
CONSUL repo.
2018-10-29 11:15:03 +01:00
Angel Perez
38af45d450
Replace deprecated .trigger('click') API with .click
2018-03-27 14:47:49 -04: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
440c448ae4
Merge pull request #1862 from wairbut-m2c/iagirre-comments-empty-html
...
Iagirre comments empty html
2017-09-13 19:16:25 +02:00
iagirre
2621d2694b
Added test for comments
2017-09-13 16:04:45 +02:00
taitus
895c942a39
Add community to investments
2017-09-05 12:52:45 +02:00
taitus
4539c5fa00
Refactor and tests.
2017-09-05 12:52:14 +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
f6fe9cc7d2
Fix all Layout/SpaceAroundOperators rubocop issues and remove file list from rubocop_todo list
2017-06-26 18:04:20 +02:00
kikito
f0b8cfd4a2
Time.now -> Time.current
2016-11-23 19:19:19 +01:00
Alberto Garcia Cabeza
702cfe13d1
Fixes specs
2016-07-06 14:47:09 +02:00
rgarcia
18dd9c95f3
fixes specs
2016-06-16 12:06:26 +02:00
Juanjo Bazán
91199cda77
removes capybara warning messages
2016-04-25 11:44:33 +02:00
Juanjo Bazán
3bd767e36f
collapsable comments on proposals/debates
2016-02-10 19:27:15 +01:00
rgarcia
816a95b7b7
adds comment show view
2016-01-07 15:18:28 +01:00
kikito
73c306a673
Adds 3 orders for comments: most_voted, newest, oldest
2015-11-02 14:01:55 +01:00
kikito
2fab210ac8
merges with master and fixes conflicts
2015-10-31 17:09:52 +01:00
kikito
ddc8097e7d
adds feature tests for the descendant comment sorting
2015-10-30 20:28:06 +01:00
kikito
50fdd005a4
Implements comment sorting in proposals and debates
2015-10-28 18:40:32 +01:00
kikito
26a9ca58cd
Fixes failing tests which failed due to a new form existing now
2015-10-28 17:35:59 +01:00
Alberto Garcia Cabeza
2bf6603207
Merges master and fixes conflicts
2015-10-28 12:51:23 +01:00
Alberto Garcia Cabeza
abad54d01a
Updates tests with new texts
2015-10-28 12:47:51 +01:00
Sergio Arbeo
12ec1fe6f6
Update comments count when commenting on a debate or proposal
2015-10-27 01:02:39 +01:00
Sergio Arbeo
fe55c0bdc2
Fix feature tests
2015-10-26 01:35:21 +01:00
kikito
6c5d1faa90
Uses the new field, erased_at, for erased users
2015-10-21 14:28:21 +02:00
Juanjo Bazán
a63ca9fce2
renames missing specs
2015-09-15 22:34:43 +02:00