Skip to content

Commit

Permalink
fix: correctly display interaction with nil description in HTML view
Browse files Browse the repository at this point in the history
  • Loading branch information
bethesque committed Apr 3, 2018
1 parent 2d6dc0a commit 56528d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/pact/doc/sort_interactions.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ def self.call interactions
private

def self.sortable_id interaction
"#{interaction.description.downcase} #{interaction.response.status} #{(interaction.provider_state || '').downcase}"
"#{(interaction.description || '').downcase} #{interaction.response.status} #{(interaction.provider_state || '').downcase}"
end
end
end
Expand Down

0 comments on commit 56528d3

Please sign in to comment.