Skip to content

Commit

Permalink
Enable Pact test Rake task
Browse files Browse the repository at this point in the history
  • Loading branch information
deborahchua committed Jun 5, 2024
1 parent 7831a54 commit 49988f0
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -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]

0 comments on commit 49988f0

Please sign in to comment.