From 08134985255d8351a7d7e2c34431caf57ed33023 Mon Sep 17 00:00:00 2001 From: Beth Skurrie Date: Mon, 28 Sep 2020 10:26:36 +1000 Subject: [PATCH] fix: de-duplicate re-run commands --- lib/pact/provider/rspec/formatter_rspec_3.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/pact/provider/rspec/formatter_rspec_3.rb b/lib/pact/provider/rspec/formatter_rspec_3.rb index f62c8212..fd9b0f32 100644 --- a/lib/pact/provider/rspec/formatter_rspec_3.rb +++ b/lib/pact/provider/rspec/formatter_rspec_3.rb @@ -128,7 +128,7 @@ def one_failed_example_per_interaction(summary) def interaction_rerun_commands examples examples.collect do |example| interaction_rerun_command_for example - end.compact + end.compact.uniq end def interaction_unique_key(example)