From 3d99aa650b7d945c2524dc6918fa17993ef0da49 Mon Sep 17 00:00:00 2001 From: Jason Rylance Date: Tue, 6 Dec 2016 18:27:52 -0600 Subject: [PATCH] Run RSpec and Cucumber suites by default. - Previously we only ran RSpec, yet we have a reasonably sized Cucumber suite that could get overlooked by contributors. - Our contributors.md file suggests the default rake task runs our full test suite, this change helps reinforce that idea. --- Rakefile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Rakefile b/Rakefile index 0d559c5e..f162e126 100644 --- a/Rakefile +++ b/Rakefile @@ -6,14 +6,13 @@ require "rspec/core/rake_task" desc "Run all the tests in spec" RSpec::Core::RakeTask.new(:spec) -desc "Default: run tests" -task default: :spec - using_git = File.exist?(File.expand_path('../.git/', __FILE__)) require "cucumber/rake/task" Cucumber::Rake::Task.new +desc "Default: run tests" +task default: [:spec, :cucumber] def ensure_relish_doc_symlinked(filename) from_filename = filename.dup