@hbrandl There's an assertion for that.
```ruby
expect {
  # your code here
}.to_not raise_error
```