rspec-expectations 2.14.x discards do/end blocks passed to raise_error.

It is fixed on master, see: https://github.com/rspec/rspec-expectations/commit/b0df827f4c12870aa4df2f20a817a8b01721a6af