It was you that said that one line should be longer then what we can see on github :D! A good solution could be:

```ruby
expect { subject.rename( old_uuid: "2", new_uuid: @new_uuid) }
  .to raise_error(Exceptions::NotFoundException, "Does not exist any image with that uuid")
```