Skip to content

Commit 2a01d9f

Browse files
committed
[STORE] Update specs
1 parent fadded5 commit 2a01d9f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

elasticsearch-persistence/spec/repository_spec.rb

+2-2
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ class RepositoryWithoutDSL
104104
end
105105

106106
it 'sets a default client' do
107-
expect(repository.client).to be_a(Elasticsearch::Transport::Client)
107+
expect(repository.client).to be_a(Elasticsearch::Client)
108108
end
109109

110110

@@ -465,7 +465,7 @@ class RepositoryWithoutDSL
465465
end
466466

467467
it 'sets a default on the instance' do
468-
expect(RepositoryWithoutDSL.new.client).to be_a(Elasticsearch::Transport::Client)
468+
expect(RepositoryWithoutDSL.new.client).to be_a(Elasticsearch::Client)
469469
end
470470

471471
it 'allows the value to be overridden with options on the instance' do

0 commit comments

Comments
 (0)