Store md5 in samples db

This commit is contained in:
Joshua Peek
2012-07-23 13:50:35 -05:00
parent bf944f6d1a
commit 6842044b52
3 changed files with 5 additions and 8 deletions

View File

@@ -18,7 +18,7 @@ class TestClassifier < Test::Unit::TestCase
def test_instance_freshness
# Just warn, it shouldn't scare people off by breaking the build.
if Samples.outdated?
if Samples::DATA['md5'] != Samples.data['md5']
warn "Classifier database is out of date. Run `bundle exec rake classifier`."
end
end