use expect as:
```Ruby
expect(subject.to_media_type(@media, options)).to eq(object)
```