debian-mirror-gitlab/spec/support/inspect_squelch.rb

10 lines
213 B
Ruby
Raw Normal View History

2019-10-12 21:52:04 +05:30
# frozen_string_literal: true
2019-09-30 21:07:59 +05:30
# 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