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

Fix --tag documentation to avoid confusing "filter" references. #2090

Merged
merged 1 commit into from
Oct 14, 2015

Conversation

creature
Copy link
Contributor

As reported in #2017, the sentence fragment "then foo will be filtered" usually means that "foo" will be filtered out. The tag feature actually works the opposite way; "--tag foo" will only run examples with
foo: true.

I've tried to tidy up this documentation to make this clearer, as well as moving the paragraph about internal details lower down so exclusions are discussed before we use them in an example.

As reported in rspec#2017, the sentence fragment "then foo will be filtered"
usually means that "foo" will be filtered out. The tag feature actually
works the opposite way; "--tag foo" will only run examples with
`foo: true`.
@JonRowe
Copy link
Member

JonRowe commented Oct 14, 2015

I think this is an improvement, thanks!

JonRowe added a commit that referenced this pull request Oct 14, 2015
Fix --tag documentation to avoid confusing "filter" references.
@JonRowe JonRowe merged commit a06d7a2 into rspec:master Oct 14, 2015
MatheusRich pushed a commit to MatheusRich/rspec-core that referenced this pull request Oct 30, 2020
Fix --tag documentation to avoid confusing "filter" references.
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.

2 participants