```ruby
Given(/^a collection of cases exist$/) do
  stub_case_collection_api_request
end

Then(/^I can get a list of all merger inquiries$/) do
  visit finder_path('cma-cases')
  page.should have_content('2 cases')
  page.should have_css('.results .document', count: 2)

  within '.results .document:nth-child(1)' do
    page.should have_link('HealthCorp / DrugInc merger inquiry')
    page.should have_content('30 December 2003')
    page.should have_content('Mergers')
  end

  select_filters('Case type' => 'Mergers')

  page.should have_content('1 case')
  page.should have_css('.results .document', count: 1)
end
```

Update tests for new markup
user
```ruby
Given(/^a collection of cases exist$/) do
  stub_case_collection_api_request
end

Then(/^I can get a list of all merger inquiries$/) do
  visit finder_path('cma-cases')
  page.should have_content('2 cases')
  page.should have_css('.filtered-results .document', count: 2)

  within '.filtered-results .document:nth-child(1)' do
    page.should have_link('HealthCorp / DrugInc merger inquiry')
    page.should have_content('30 December 2003')
    page.should have_content('Mergers')
  end

  select_filters('Case type' => 'Mergers')

  page.should have_content('1 case')
  page.should have_css('.filtered-results .document', count: 1)
end
```
assistant