From 4be263c223f19e47ac3b8b1c4291cc7919919f1d Mon Sep 17 00:00:00 2001 From: Devin Howard Date: Thu, 7 Jan 2016 16:06:35 +0800 Subject: [PATCH] prominence to rspec command --- doc/RspecTesting.md | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/doc/RspecTesting.md b/doc/RspecTesting.md index 6c118407..82cf74f7 100644 --- a/doc/RspecTesting.md +++ b/doc/RspecTesting.md @@ -4,10 +4,14 @@ RSpec is a ruby gem that allows you to test your code base. This is great - every time you make a change, you can do some basic sanity checks to make sure you didn't break anything. -To test Metamaps, run `rspec` in the top level directory. It will automatically -search the `spec` directory for files called `*_spec.rb`, and run them as tests. -When it's done testing, it will print a report telling you how many tests -failed. With luck, the number will be 0. +To test Metamaps, run + + rspec + +in the top level directory. It will automatically search the `spec` directory +for files called `*_spec.rb`, and run them as tests. When it's done testing, it +will print a report telling you how many tests failed. With luck, the number +will be 0. Note that if your test database doesn't exist yet, you'll need to create it first: