Commit 2089b8e9 authored by Sean McGivern's avatar Sean McGivern

Merge branch 'fix-base-service-inspect-pd' into 'master'

Fix failing inspect call in case of failing spec

See merge request gitlab-org/gitlab!31840
parents df516bbd 669332ee
......@@ -39,6 +39,8 @@ module MergeRequests
# Don't try to print expensive instance variables.
def inspect
return "#<#{self.class}>" unless respond_to?(:merge_request)
"#<#{self.class} #{merge_request.to_reference(full: true)}>"
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment