Sha256: 544951fbf00e6fdf22243cade98e32e17877453def7296baf4b3fa05e6bacfa5

Contents?: true

Size: 234 Bytes

Versions: 5

Compression:

Stored size: 234 Bytes

Contents

RSpec::Matchers.define :match_md5checksum do |pattern|
  match do |file|
    if file.respond_to?(:match_md5checksum)
      file.match_md5checksum(pattern)
    else
      backend.check_file_md5checksum(file, pattern)
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
serverspec-0.5.8 lib/serverspec/matchers/match_md5checksum.rb
serverspec-0.5.7 lib/serverspec/matchers/match_md5checksum.rb
serverspec-0.5.6 lib/serverspec/matchers/match_md5checksum.rb
serverspec-0.5.5 lib/serverspec/matchers/match_md5checksum.rb
serverspec-0.5.4 lib/serverspec/matchers/match_md5checksum.rb