Pass opts for warn_deprecation

Required for rspec/rspec-expectations#468