Sha256: deaeb8769d86a78189b41424ff746d35ee1c82e3e014a7d252665bdf118d8857

Contents?: true

Size: 243 Bytes

Versions: 18

Compression:

Stored size: 243 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(example, file, pattern)
    end
  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
serverspec-0.5.3 lib/serverspec/matchers/match_md5checksum.rb
serverspec-0.5.2 lib/serverspec/matchers/match_md5checksum.rb
serverspec-0.5.1 lib/serverspec/matchers/match_md5checksum.rb
serverspec-0.5.0 lib/serverspec/matchers/match_md5checksum.rb
serverspec-0.4.14 lib/serverspec/matchers/match_md5checksum.rb
serverspec-0.4.13 lib/serverspec/matchers/match_md5checksum.rb
serverspec-0.4.12 lib/serverspec/matchers/match_md5checksum.rb
serverspec-0.4.11 lib/serverspec/matchers/match_md5checksum.rb
serverspec-0.4.10 lib/serverspec/matchers/match_md5checksum.rb
serverspec-0.4.9 lib/serverspec/matchers/match_md5checksum.rb
serverspec-0.4.8 lib/serverspec/matchers/match_md5checksum.rb
serverspec-0.4.7 lib/serverspec/matchers/match_md5checksum.rb
serverspec-0.4.6 lib/serverspec/matchers/match_md5checksum.rb
serverspec-0.4.5 lib/serverspec/matchers/match_md5checksum.rb
serverspec-0.4.4 lib/serverspec/matchers/match_md5checksum.rb
serverspec-0.4.3 lib/serverspec/matchers/match_md5checksum.rb
serverspec-0.4.2 lib/serverspec/matchers/match_md5checksum.rb
serverspec-0.4.1 lib/serverspec/matchers/match_md5checksum.rb