use
```
expect {
  ...
}.to raise_error ...
```
instead of
```
lambda {
  ...
}.should ...
```