Remove city heading specific code
This code accidentally made it to consul, and it's specific to Madrid.
This commit is contained in:
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user