Skip to content

Commit

Permalink
Ensure index is created before testing in spec
Browse files Browse the repository at this point in the history
  • Loading branch information
jrhoads committed Jun 3, 2022
1 parent 75013ef commit bd84d6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/graphql/types/repository_type_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -471,10 +471,10 @@
end

before :all do
ReferenceRepository.import(force: true)
VCR.use_cassette("ReferenceRepositoryType/re3Data/R3XS37") do
@client = create(:client)
@ref_repo = create(:reference_repository, client_id: @client.uid, re3doi: "10.17616/R3XS37")
ReferenceRepository.import
sleep 2
end
end
Expand Down

0 comments on commit bd84d6c

Please sign in to comment.