Sha256: c5136bf7cf16a7c644f5ecbee60496974908171567b9cf6b1775aa0c384092af
Contents?: true
Size: 259 Bytes
Versions: 14
Compression:
Stored size: 259 Bytes
Contents
RSpec::Matchers.define(:be_same_file_as) do |exected_file_path| match do |actual_file_path| expect(md5_hash(actual_file_path)).to eq(md5_hash(exected_file_path)) end def md5_hash(file_path) Digest::MD5.hexdigest(File.read(file_path)) end end
Version data entries
14 entries across 14 versions & 2 rubygems