Permalink
Browse files

Remove incorrect help text suggesting that the example option can be …

…a regexp
  • Loading branch information...
shepmaster committed Jan 4, 2013
1 parent f347f20 commit 17fb1e3fb1e1dd9c3e1bf83c63a9b14e3a4bc012
Showing with 4 additions and 8 deletions.
  1. +4 −8 features/command_line/example_name_option.feature
@@ -2,13 +2,13 @@ Feature: --example option
Use the --example (or -e) option to filter examples by name.
- The argument is compiled to a Ruby Regexp, and matched against the full
- description of the example, which is the concatenation of descriptions of the
- group (including any nested groups) and the example.
+ The argument is matched against the full description of the example,
+ which is the concatenation of descriptions of the group (including
+ any nested groups) and the example.
This allows you to run a single uniquely named example, all examples with
similar names, all the examples in a uniquely named group, etc, etc.
-
+
You can also use the option more than once to specify multiple example matches.
Background:
@@ -67,10 +67,6 @@ Feature: --example option
When I run `rspec . --example 'first group first example in first group'`
Then the examples should all pass
- Scenario: one match in one file using regexp
- When I run `rspec . --example 'first .* first example'`
- Then the examples should all pass
-
Scenario: all examples in one group
When I run `rspec . --example 'first group'`
Then the examples should all pass

0 comments on commit 17fb1e3

Please sign in to comment.