Remove city heading specific code

This code accidentally made it to consul, and it's specific to Madrid.
This commit is contained in:
Javi Martín
2018-11-13 12:53:02 +01:00
parent 0de8c884ac
commit 91d91f2ebf
2 changed files with 3 additions and 24 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')