diff options
Diffstat (limited to 'spec/support/inspect_squelch.rb')
| -rw-r--r-- | spec/support/inspect_squelch.rb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/spec/support/inspect_squelch.rb b/spec/support/inspect_squelch.rb new file mode 100644 index 00000000000..90475204889 --- /dev/null +++ b/spec/support/inspect_squelch.rb @@ -0,0 +1,9 @@ +# frozen_string_literal: true + +# 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 |
