Commit Graph

115 Commits

Author SHA1 Message Date
rgarcia
cf2dac91ad renames html ids that have js behaviour 2016-01-16 20:15:14 +01:00
rgarcia
5dc9d9313b adds multiple filters spec 2016-01-15 12:41:58 +01:00
rgarcia
44677c0ec2 fixes specs 2016-01-13 19:25:49 +01:00
rgarcia
c68c2b9f1d maintains search criteria 2016-01-13 19:25:49 +01:00
rgarcia
66b704b3b9 refactors filterable concern 2016-01-13 19:25:48 +01:00
rgarcia
4c27e66bb2 adds integration specs 2016-01-13 19:25:48 +01:00
kikito
9898353d99 Fixes specs for debates and proposals 2016-01-05 19:38:36 +01:00
rgarcia
dffc5f5eae adds specs 2015-11-23 13:43:48 +01:00
rgarcia
593ed551d4 adds search specs 2015-10-29 14:29:52 +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
kikito
6c5d1faa90 Uses the new field, erased_at, for erased users 2015-10-21 14:28:21 +02:00
Alberto Garcia Cabeza
f46a379d6c Updates tests 2015-10-09 17:06:35 +02:00
Raimond Garcia
e7108430df Merge pull request #583 from juandefelix/keep-filter
simplificada la sintaxis del test
2015-10-05 10:14:58 +02:00
juandefelix
7ba8e3f255 updated test systax 2015-10-03 13:05:33 -05:00
juandefelix
7856839bff added javascript to the test 2015-10-03 13:04:39 -05:00
juandefelix
03b0fceecc updated tag visibility tests for the new valid tag count 2015-10-03 12:03:49 -05:00
Enrique García
ae166a6836 Merge pull request #505 from dgilperez/debates_max_votes_editable
Adds setting to control max number of votes for a Debate to be editable
2015-09-22 16:52:52 +02:00
Enrique García
72787b6284 Merge pull request #485 from juandefelix/keep-filter
Conservar orden de búsqueda al hacer click en "Volver"
2015-09-22 16:41:20 +02:00
kikito
757205a93e Unifies bulk & debates moderation forms in a single one 2015-09-21 15:41:01 +02:00
juandefelix
5e4f134c72 added javascript to the test 2015-09-19 20:06:56 -05:00
juandefelix
311827a83b renamed test 2015-09-19 19:03:05 -05:00
juandefelix
85abd92263 added test for "Back" link in debates/show page 2015-09-19 18:59:41 -05:00
Juanjo Bazán
a60fdc8ccd sets debate's title as title page in debate/show 2015-09-18 12:34:14 +02:00
David Gil
0418872fff tidies up a bit and adds wild: true for tag-based debate searching 2015-09-17 14:48:43 +02:00
David Gil
42f1ffb171 adds tests for debate editable with max votes 2015-09-15 21:28:01 +02:00
David Gil
497c595704 considers tags within a debate search 2015-09-15 15:06:34 +02:00
kikito
79a99ce595 Makes hot_score the default order in proposals & debates 2015-09-15 09:27:55 +02:00
Juanjo Bazán
e5531aba87 moves highlights and default home page 2015-09-14 19:49:09 +02:00
Juanjo Bazán
00f4acc7c2 refactors highlights 2015-09-14 17:00:59 +02:00
Juanjo Bazán
d4b3e8be94 adds autolinking to debate's description 2015-09-13 18:03:17 +02:00
rgarcia
f3af263e68 adds crud specs for proposals 2015-09-13 11:47:57 +02:00
kikito
d300bb6bcb Refactors order_selector
Moves the information about the current order to the selector, not to
the container
2015-09-12 16:48:41 +02:00
Raimond Garcia
050ae1265c Merge pull request #470 from AyuntamientoMadrid/filter-to-first-page-445
filters reset to page 1. Fixes #445
2015-09-11 16:41:58 +02:00
rgarcia
58a780bac5 reverts postgres extension until permissions enabled at server level 2015-09-11 16:31:24 +02:00
kikito
1f28e97c2e filters reset to page 1. Fixes #445 2015-09-11 13:04:43 +02:00
David Gil
1833c83351 unaccents Debate.search terms and tests that 2015-09-10 21:03:55 +02:00
kikito
43bdfb940e merges master and fixes conflicts 2015-09-10 17:47:40 +02:00
kikito
2d3015703d replaces constants by class methods + private functions. Fixes broken tests 2015-09-10 13:02:21 +02:00
rgarcia
88579de5dd fixes specs 2015-09-09 22:55:39 +02:00
rgarcia
339e978237 default order confidence_score for home and debate index 2015-09-08 14:47:58 +02:00
rgarcia
f11220206a displays alert for conflictive debates 2015-09-07 17:17:33 +02:00
Juanjo Bazán
ad9e6729a1 fixes spec 2015-09-06 22:22:43 +02:00
Juanjo Bazán
1a7806150a adds pending filter to admin/debates 2015-09-06 21:42:22 +02:00
Juanjo Bazán
b020795d3d adds search to debates index 2015-09-05 15:20:46 +02:00
kikito
55c48e3719 Fixes randomly-failing travis specs
The problem was that after changing page with the selects, capybara
needs to “find something which has changed on the page” in order to
“wait”. The “have_selects” did not wait because they did not change
(you change them, then the page changes, and they stay the same)
2015-09-04 17:44:32 +02:00
kikito
8e451dbf66 adds even more expects to random debate order spec to fix travis 2015-09-04 16:22:07 +02:00
kikito
457b734ca4 adds within clauses to debates specs. This should wait for page refreshes if needed 2015-09-04 15:55:30 +02:00
kikito
b9453a83bb remove failing line (undefined var) 2015-09-04 15:41:12 +02:00
Juanjo Bazán
44bab6f4b4 adds expect to wait for to capybara 2015-09-04 15:15:20 +02:00