From b60a7aeb008bcddf1e3bfe9c935c9997ac1b6b44 Mon Sep 17 00:00:00 2001 From: lin-d-hop Date: Wed, 3 Dec 2014 02:33:24 -0800 Subject: [PATCH] Updated Testing and Rspec Tips (markdown) --- Testing-and-Rspec-Tips.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Testing-and-Rspec-Tips.md b/Testing-and-Rspec-Tips.md index c494e8d..07072ca 100644 --- a/Testing-and-Rspec-Tips.md +++ b/Testing-and-Rspec-Tips.md @@ -4,8 +4,8 @@ Please add to this collection of tips and tutorials as you find them. The "let" statements here are a particular syntax for defining data in rspec. For a description of how "let" statements work, see the RSpec docs here: https://www.relishapp.com/rspec/rspec-core/v/2-11/docs/helper-methods/let-and-let

Running Specs

-bundle exec rake db:test:prepare to prepare the db -rspec spec/path/to/spec.rb:#lineNum will run the tests from a specific line +bundle exec rake db:test:prepare..........to prepare the db
+rspec spec/path/to/spec.rb:#lineNum.......will run the tests from a specific line
Finished in 4.55 seconds 1 example, 0 failures