Skip to content

Commit

Permalink
Initialize the users and groups indices for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
NuckChorris committed Oct 13, 2024
1 parent d14606f commit c61872a
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion spec/support/typesensual.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
# frozen_string_literal: true

RSpec.configure do |config|
indices = [TypesenseAnimeIndex, TypesenseMangaIndex].freeze
indices = [
TypesenseAnimeIndex,
TypesenseMangaIndex,
TypesenseUsersIndex,
TypesenseGroupsIndex
].freeze

# Create a new collection for each index before each test and delete it afterwards. We also stub
# it into place for the index instead of using aliases because the alias is updated
Expand Down

0 comments on commit c61872a

Please sign in to comment.