jnicklas/capybara — pull request #1076 by mjobin-mdsol (2013-05-09 08:48:30+00:00)
Title: within to send new_scope on yield

Hi,

because I need the scope to write an rspec matcher such as ....

```ruby
within(level_selector) do |scope|
expect(scope.text).to have_content(header_text)
end
```

the only solution I found was to add this to capybara.

thanks