From e3fa8d74dc0ff348edfd482b89f456cfcf4efcbe Mon Sep 17 00:00:00 2001 From: Itamar Hassin Date: Wed, 15 Jun 2016 11:18:51 -0400 Subject: [PATCH] Added default task to rakefile that runs all the tests; Added section in the readme --- README.md | 10 ++++++++++ Rakefile | 1 + 2 files changed, 11 insertions(+) diff --git a/README.md b/README.md index 833774d2..c69fa25f 100644 --- a/README.md +++ b/README.md @@ -6,6 +6,16 @@ You can see the details of serverspec on [serverspec.org](http://serverspec.org/ ---- +## Running the gem's tests + +Use + +```bundle exec rake``` + +(Using ```rspec``` alone will not work). + + + ## Maintenance policy of Serverspec/Specinfra * The person who found a bug should fix the bug by themself. diff --git a/Rakefile b/Rakefile index 5664a44d..17c93c7b 100644 --- a/Rakefile +++ b/Rakefile @@ -6,6 +6,7 @@ rescue LoadError end if defined?(RSpec) + task :default => 'spec:all' task :spec => 'spec:all' namespace :spec do