Skip to content

Commit 56528d3

Browse files
committed
fix: correctly display interaction with nil description in HTML view
1 parent 2d6dc0a commit 56528d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/pact/doc/sort_interactions.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ def self.call interactions
88
private
99

1010
def self.sortable_id interaction
11-
"#{interaction.description.downcase} #{interaction.response.status} #{(interaction.provider_state || '').downcase}"
11+
"#{(interaction.description || '').downcase} #{interaction.response.status} #{(interaction.provider_state || '').downcase}"
1212
end
1313
end
1414
end

0 commit comments

Comments
 (0)