Change README to show --include and --require options in example

This commit is contained in:
Dan Kubb 2013-10-20 22:00:58 -07:00
parent a084837cdb
commit 314fa9a561

View file

@ -84,13 +84,13 @@ Examples
``` ```
cd virtus cd virtus
# Run mutant on virtus namespace # Run mutant on virtus namespace
mutant --rspec '::Virtus*' mutant --include lib --require virtus --rspec ::Virtus*
# Run mutant on specific virtus class # Run mutant on specific virtus class
mutant --rspec ::Virtus::Attribute mutant --include lib --require virtus --rspec ::Virtus::Attribute
# Run mutant on specific virtus class method # Run mutant on specific virtus class method
mutant --rspec ::Virtus::Attribute.build mutant --include lib --require virtus --rspec ::Virtus::Attribute.build
# Run mutant on specific virtus instance method # Run mutant on specific virtus instance method
mutant --rspec ::Virtus::Attribute#name mutant --include lib --require virtus --rspec ::Virtus::Attribute#type
``` ```
Subjects: Subjects: