From 671d93f3ca1048ee2c95a3ea92030a35e11a693c Mon Sep 17 00:00:00 2001 From: Kane Baccigalupi Date: Wed, 6 Jan 2016 15:18:40 -0800 Subject: [PATCH] Adds color option to default rake task Individual spec tasks use --color as an option, but the default `rake spec` did not have this option. This commit just adds that option to the top level rspec task. --- spec/spec.rake | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/spec/spec.rake b/spec/spec.rake index 8479bf57..38849fda 100644 --- a/spec/spec.rake +++ b/spec/spec.rake @@ -14,7 +14,9 @@ begin end desc "Run complete application spec suite" - RSpec::Core::RakeTask.new(:spec) + RSpec::Core::RakeTask.new(:spec) do |t| + t.rspec_opts = "--color" + end rescue LoadError puts "RSpec is not part of this bundle, skip specs." end