```ruby
RSpec::Matchers::define :contain_child_benefit_value do |text|
  match do |page|
    within ".results" do
      within :xpath, ".//div[contains(@class, 'results_estimate')][.//h2[.='Child Benefit received']]" do
        page.should have_content(text)
      end
    end
  end
end
```

Correct matcher to search for h3 rather than h2
user
```ruby
RSpec::Matchers::define :contain_child_benefit_value do |text|
  match do |page|
    within ".results" do
      within :xpath, ".//div[contains(@class, 'results_estimate')][.//h3[.='Child Benefit received']]" do
        page.should have_content(text)
      end
    end
  end
end
```
assistant