test/spec/lib/collins_integration.rb
#returns true if the db checksums match the config checksums, false otherwise
returns true if the db checksums match the config checksums, false otherwise
returns true if the db checksums match the config checksums false otherwise
def checkDatabase
    current_sums = getChecksums
    ok = true
    @dbChecksums.each do |key, expected|
      if expected != current_sums[key]
        ok = false
      end
    end
    ok
  end
def checkDatabase current_sums = getChecksums ok = true @dbChecksums . each do | key , expected | if expected != current_sums [ key ] ok = false end end ok end
returns true if the db checksums match the config checksums, false otherwise
returns true if the db checksums match the config checksums false otherwise