Skip to content
This repository was archived by the owner on Nov 30, 2024. It is now read-only.

Pass along opts from warn_deprecation #1342

Merged
merged 1 commit into from
Feb 22, 2014

Conversation

JonRowe
Copy link
Member

@JonRowe JonRowe commented Feb 21, 2014

Needed as a counterpart to rspec/rspec-support#42 to eventually fix rspec/rspec-expectations#468

@@ -24,16 +24,20 @@
expect(RSpec.configuration.reporter).to receive(:deprecation).with(hash_including :message => "this is the message")
RSpec.warn_deprecation("this is the message")
end
it "passes along additional options" do
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mind adding a blank line above this? I personally dislike having examples crammed next to each other unless they are one-liners.

@myronmarston
Copy link
Member

LGTM, merge when green.

JonRowe added a commit that referenced this pull request Feb 22, 2014
@JonRowe JonRowe merged commit 508f93b into master Feb 22, 2014
@JonRowe JonRowe deleted the pass_opts_from_warn_deprecation branch February 22, 2014 08:31
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Legacy matcher deprecation warning needs a :type in order for rspec-core to de-dup
2 participants