gitlab-org--gitlab-foss/spec/support/inspect_squelch.rb

8 lines
182 B
Ruby
Raw Normal View History

# This class can generate a lot of output if it fails,
# so squelch the instance variable output.
class ActiveSupport::Cache::NullStore
def inspect
"<#{self.class}>"
end
end