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)
This commit is contained in:
@@ -38,7 +38,7 @@
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div id="debates" class="debates-list small-12 medium-9 column">
|
||||
<div id="debates" class="debates-list small-12 medium-9 column js-order-<%= @order.dasherize %>">
|
||||
<%= render @debates %>
|
||||
<%= paginate @debates %>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user