Sha256: bdc736902aa7371d12112aaa9f26af6999e7f90e3a57d32aa15538e85287c736
Contents?: true
Size: 349 Bytes
Versions: 15
Compression:
Stored size: 349 Bytes
Contents
RSpec::Matchers.define :be_same_image_as do |expected| match do |actual| expected_path = File.expand_path('../../../data/' + expected, __FILE__) expected_file = File.binread(expected_path) actual_file = File.binread(actual) expected_file == actual_file end description do "be the same image as \"#{expected}\"" end end
Version data entries
15 entries across 15 versions & 1 rubygems