Merge pull request #3111 from consul/backport-customize_toda_la_ciudad

Remove custom "toda la ciudad" code
This commit is contained in:
Javier Martín
2018-12-18 13:03:51 +01:00
committed by GitHub
4 changed files with 26 additions and 42 deletions

View File

@@ -230,19 +230,6 @@ feature 'Executions' do
heading
end
scenario 'City heading is displayed first' do
heading.destroy!
other_heading1 = create_heading_with_investment_with_milestone(group: group, name: 'Other 1')
city_heading = create_heading_with_investment_with_milestone(group: group, name: 'Toda la ciudad')
other_heading2 = create_heading_with_investment_with_milestone(group: group, name: 'Other 2')
visit budget_executions_path(budget)
expect(page).to have_css('.budget-execution', count: 3)
expect(city_heading.name).to appear_before(other_heading1.name)
expect(city_heading.name).to appear_before(other_heading2.name)
end
scenario 'Non-city headings are displayed in alphabetical order' do
heading.destroy!
z_heading = create_heading_with_investment_with_milestone(group: group, name: 'Zzz')