Commit 12ce751495f2e447a36b3b6060ec63c437b9d245
1 parent
9b733e18
Exists in
master
and in
29 other branches
Add comment to explain solr query
Showing
1 changed file
with
1 additions
and
0 deletions
Show diff stats
test/test_helper.rb
@@ -49,6 +49,7 @@ class Test::Unit::TestCase | @@ -49,6 +49,7 @@ class Test::Unit::TestCase | ||
49 | fixtures :environments, :roles | 49 | fixtures :environments, :roles |
50 | 50 | ||
51 | def self.setup | 51 | def self.setup |
52 | + # clean up index db before each test | ||
52 | ActsAsSolr::Post.execute(Solr::Request::Delete.new(:query => '*:*')) | 53 | ActsAsSolr::Post.execute(Solr::Request::Delete.new(:query => '*:*')) |
53 | end | 54 | end |
54 | 55 |