fixes specs
This commit is contained in:
@@ -36,9 +36,6 @@
|
||||
<% else %>
|
||||
<p>
|
||||
<%= t("budgets.ballots.show.zero") %><br>
|
||||
<%= link_to t("budgets.ballots.show.heading_link"),
|
||||
budget_investments_path(budget, heading_id: heading.id),
|
||||
data: { no_turbolink: true } %>
|
||||
</p>
|
||||
<% end %>
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<%= form_tag search_path, method: :get do %>
|
||||
<div class="input-group">
|
||||
<label for="search_text" class="sr-only"><%= t("#{i18n_namespace}.title") %></label>
|
||||
<input type="text" name="search" placeholder="<%= t("#{i18n_namespace}.placeholder") %>" class="input-group-field" value="<%= params[:search] %>" id="search_text">
|
||||
<input type="text" name="search" placeholder='<%= t("#{i18n_namespace}.placeholder") %>' class="input-group-field" value="<%= params[:search] %>" id="search_text">
|
||||
<div class="input-group-button">
|
||||
<button type="submit" class="button" title="<%= t("#{i18n_namespace}.button") %>">
|
||||
<span class="sr-only"><%= t("#{i18n_namespace}.button") %></span>
|
||||
|
||||
@@ -139,11 +139,10 @@ ignore_unused:
|
||||
- 'users.show.filters.*'
|
||||
- 'debates.index.select_order'
|
||||
- 'debates.index.orders.*'
|
||||
- 'debates.index.search_form.*'
|
||||
- 'proposals.index.select_order'
|
||||
- 'proposals.index.orders.*'
|
||||
- 'proposals.index.search_form.*'
|
||||
- 'spending_proposals.index.search_form.*'
|
||||
- '*.index.search_form.*'
|
||||
- 'notifications.index.comments_on*'
|
||||
- 'notifications.index.replies_to*'
|
||||
- 'notifications.index.proposal_notification*'
|
||||
|
||||
@@ -39,6 +39,10 @@ en:
|
||||
unfeasible_text: "The proposals must meet a number of criteria (legality, concreteness, be the responsibility of the city, not exceed the limit of the budget; %{definitions}) to be declared viable and reach the stage of final vote. All proposals don't meet these criteria are marked as unfeasible and published in the following list, along with its report of infeasibility."
|
||||
unfeasible_text_definitions: see definitions here
|
||||
by_heading: "Investment projects with scope: %{heading}"
|
||||
search_form:
|
||||
button: Search
|
||||
placeholder: Search investment projects...
|
||||
title: Search
|
||||
search_results:
|
||||
one: " containing the term '%{search_term}'"
|
||||
other: " containing the term '%{search_term}'"
|
||||
|
||||
@@ -39,6 +39,10 @@ es:
|
||||
unfeasible_text: Las propuestas presentadas deben cumplir una serie de criterios (legalidad, concreción, ser competencia del Ayuntamiento, no superar el tope del presupuesto; %{definitions}) para ser declaradas viables y llegar hasta la fase de votación final. Todas las propuestas que no cumplen estos criterios son marcadas como inviables y publicadas en la siguiente lista, junto con su informe de inviabilidad.
|
||||
unfeasible_text_definitions: ver definiciones aquí
|
||||
by_heading: "Propuestas de inversión con ámbito: %{heading}"
|
||||
search_form:
|
||||
button: Buscar
|
||||
placeholder: Buscar propuestas de inversión...
|
||||
title: Buscar
|
||||
search_results:
|
||||
one: " que contiene '%{search_term}'"
|
||||
other: " que contienen '%{search_term}'"
|
||||
|
||||
@@ -67,6 +67,7 @@ feature 'Budget Investments' do
|
||||
end
|
||||
|
||||
context("Orders") do
|
||||
before(:each) { budget.update(phase: 'selecting') }
|
||||
|
||||
scenario "Default order is random" do
|
||||
per_page = Kaminari.config.default_per_page
|
||||
|
||||
Reference in New Issue
Block a user