From 69078aa4048f0261ed7aca79fd5dce5ffe7619a9 Mon Sep 17 00:00:00 2001 From: James Espinosa Date: Thu, 14 Nov 2013 13:37:56 -0600 Subject: [PATCH] Add minor text and typo changes --- README.md | 22 +++++++++++----------- spec/support/capybara_shared.rb | 23 +++++++++++------------ 2 files changed, 22 insertions(+), 23 deletions(-) diff --git a/README.md b/README.md index ad52e61..680cbd0 100755 --- a/README.md +++ b/README.md @@ -20,16 +20,16 @@ $ git clone git@github.com:OWASP/railsgoat.git Navigate into the directory and accept the notice by typing `yes`: ``` -***************************************************************************************************** -* NOTICE * -***************************************************************************************************** -* RVM has encountered a new or modified .rvmrc file in the current directory, this is a shell * -* script and therefore may contain any shell commands. * -* * -* Examine the contents of this file carefully to be sure the contents are safe before trusting it! * -* Do you wish to trust '/path/to/railsgoat/.rvmrc'? * -* Choose v[view] below to view the contents * -***************************************************************************************************** +**************************************************************************************************** +* NOTICE * +**************************************************************************************************** +* RVM has encountered a new or modified .rvmrc file in the current directory, this is a shell * +* script and therefore may contain any shell commands. * +* * +* Examine the contents of this file carefully to be sure the contents are safe before trusting it! * +* Do you wish to trust '/path/to/railsgoat/.rvmrc'? * +* Choose v[view] below to view the contents * +**************************************************************************************************** y[es], n[o], v[iew], c[cancel]> ``` @@ -67,7 +67,7 @@ RailsGoat now includes a set of failing Capybara RSpecs, each one indicating tha $ rake training ``` -Please note, as vulnerabilities are fixed in the application, these specs will not change to `passing`, but to `pending`. +NOTE: As vulnerabilities are fixed in the application, these specs will not change to `passing`, but to `pending`. ## Contributing diff --git a/spec/support/capybara_shared.rb b/spec/support/capybara_shared.rb index 8606ce4..a0866c6 100644 --- a/spec/support/capybara_shared.rb +++ b/spec/support/capybara_shared.rb @@ -15,20 +15,19 @@ def verifying_fixed? ****************************************************************************** You are running the RailsGoat Capybara Specs in Training mode. These specs - are supposed to fail, indicating vulnerabilities exist. They contain - spoilers, so do not read the code in spec/vulnerabilities if your goal is to - learn more about patching the vulnerabilities. You should fix the - vulnerabilities in the application in order to get these specs to pass**. - You can use them to measure your progress. + are supposed to fail, indicating vulnerabilities exist. They contain spoilers, + so do not read the code in spec/vulnerabilities if your goal is to learn more + about patching the vulnerabilities. You should fix the vulnerabilities in the + application in order to get these specs to pass**. You can use them to measure + your progress. - These same specs will pass if you set the #{maintainer_env_name} ENV - variable. + These same specs will pass if you set the #{maintainer_env_name} ENV variable. + + **NOTE: The RSpec pending feature is used to toggle the outcome of these specs + between Training mode and RailsGoat Maintainer mode. When the vulnerabilities + are removed, the specs will not "pass," but rather go into a "pending" state. + ****************************************************************************** - **NOTE: The RSpec pending feature is used to toggle the outcome of these - specs between Training mode and RailsGoat Maintainer mode, so when the - vulnerabilities are removed, these specs actually won't 'pass' but go into - a 'pending' state. -****************************************************************************** NOTICE $displayed_spec_notice = true end