class AssertMatchesSnapshot::Assertion::OverwriteSnapshots

Public Class Methods

active?() click to toggle source
# File lib/assert_matches_snapshot/assertion.rb, line 34
def self.active?
  ENV['OVERWRITE_SNAPSHOTS'] == 'true'
end