Is this within the tag or is the actual text of the h2 tag? I try to avoid within tags when they are unnecessary.

```ruby
page.should have_selector('h2', text: tag.name)
```