From 1e868d10ca053cb9c40c7d6fc7e875e3ca73e656 Mon Sep 17 00:00:00 2001 From: erwanlr Date: Tue, 5 Nov 2019 20:11:03 +0000 Subject: [PATCH] Ignores slow specs when executing rake tasks --- Rakefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Rakefile b/Rakefile index 21348df2..a90b5fb1 100644 --- a/Rakefile +++ b/Rakefile @@ -13,7 +13,11 @@ end begin require 'rspec/core/rake_task' - RSpec::Core::RakeTask.new(:spec) + + RSpec::Core::RakeTask.new(:spec) do |t| + t.rspec_opts = %w{--tag ~slow} + end + exec << :spec rescue LoadError end