module RSpec::Snapshot::Matchers

rubocop:disable Style/Documentation

Public Instance Methods

match_snapshot(snapshot_name, config = {}) click to toggle source
# File lib/rspec/snapshot/matchers.rb, line 9
def match_snapshot(snapshot_name, config = {})
  MatchSnapShot.new(RSpec.current_example.metadata,
                    snapshot_name,
                    config)
end
Also aliased as: snapshot
snapshot(snapshot_name, config = {})
Alias for: match_snapshot