From b9dd1a6e3d495ed93cc5401b226bcf1d4d749593 Mon Sep 17 00:00:00 2001 From: Tom Copeland Date: Wed, 29 Apr 2015 10:18:32 -0400 Subject: [PATCH] Add a docs note about running just one spec --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 24bf2ce..cd37342 100755 --- a/README.md +++ b/README.md @@ -69,6 +69,12 @@ RailsGoat now includes a set of failing Capybara RSpecs, each one indicating tha $ rake training ``` +To run just one spec: + +``` +$ rake training SPEC=spec/vulnerabilities/sql_injection_spec.rb +``` + NOTE: As vulnerabilities are fixed in the application, these specs will not change to `passing`, but to `pending`.