From 49988f0767fbbb5617ecc7f4bf818c999148ffc7 Mon Sep 17 00:00:00 2001 From: D Chua Date: Tue, 28 May 2024 14:24:30 +0100 Subject: [PATCH] Enable Pact test Rake task --- Rakefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Rakefile b/Rakefile index fee1c835..377c52cf 100644 --- a/Rakefile +++ b/Rakefile @@ -12,5 +12,11 @@ rescue LoadError # Rubocop isn't available in all environments end +begin + require "pact/tasks" +rescue LoadError + # Pact isn't available in all environments +end + Rake::Task[:default].clear if Rake::Task.task_defined?(:default) -task default: %i[rubocop spec] +task default: %i[rubocop spec pact:verify]