aboutsummaryrefslogtreecommitdiff
path: root/test/test_classifier.rb
diff options
context:
space:
mode:
authorJoshua Peek <josh@joshpeek.com>2012-07-23 13:50:35 -0500
committerJoshua Peek <josh@joshpeek.com>2012-07-23 13:50:35 -0500
commit6842044b523cd6c33b8470eb36b3d88bacd578a0 (patch)
tree24d90ef458884718e8716236ee455c452a3b0b02 /test/test_classifier.rb
parentbf944f6d1aa766a1ebcc04458a7066ecdcb7d002 (diff)
Store md5 in samples db
Diffstat (limited to 'test/test_classifier.rb')
-rw-r--r--test/test_classifier.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_classifier.rb b/test/test_classifier.rb
index 33f3bae..82d957f 100644
--- a/test/test_classifier.rb
+++ b/test/test_classifier.rb
@@ -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