Use --example STRING
rather than :linenumber
to future-proof
#31
Labels
--example STRING
rather than :linenumber
to future-proof
#31
The current instructions ask the student to run individual specs with something like
rspec file_spec.rb:6
to run the example group starting at line 6, but this is fragile if the specs change slightly. A better way may be to sayrspec --example "part of spec docstring" file_spec.rb
, where the string is an unambiguous match to the docstring of either a particular example or example group.The text was updated successfully, but these errors were encountered: