Skip to content

Commit

Permalink
Cleanup solr.
Browse files Browse the repository at this point in the history
  • Loading branch information
Trey Terrell committed Jan 14, 2016
1 parent 955373b commit 238ef4e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions spec/support/solr_cleanup.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
RSpec.configure do |config|
config.before(:each) do
Blacklight.default_index.connection.delete_by_query("*:*")
Blacklight.default_index.connection.commit
end
end

0 comments on commit 238ef4e

Please sign in to comment.