Support expect! use in block with the rspec expects matcher

The following discussion from !205504 (merged) should be addressed:

Edited by 🤖 GitLab Bot 🤖