Frequently one might want to make an assertion inside a within block, but it's not obvious how to do so.
This doesn't work (within doesn't have block attributes):
within(level_selector) do |this|
click_button 'edit'
expect(this).to have_content(header_text) # sadly this = nil
end