From 85863dc152bcb856913d1cfcdeff146153975673 Mon Sep 17 00:00:00 2001 From: Jeremy Fairbank Date: Tue, 13 Jan 2015 12:55:57 -0500 Subject: [PATCH] Add spec task to Rakefile to run specs --- Rakefile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Rakefile b/Rakefile index 809eb56..98182fd 100644 --- a/Rakefile +++ b/Rakefile @@ -1,2 +1,9 @@ -require "bundler/gem_tasks" +require 'bundler/gem_tasks' +begin + require 'rspec/core/rake_task' + RSpec::Core::RakeTask.new(:spec) + task default: :spec +rescue LoadError + # Rspec not available +end