Skip to content

Commit 8a0815f

Browse files
committed
[MODEL] Updates ES client spec for client 7.14.0
1 parent 0321432 commit 8a0815f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

elasticsearch-model/spec/elasticsearch/model/client_spec.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,14 +33,14 @@ class ::DummyClientModel
3333
context 'when a class includes the client module class methods' do
3434

3535
it 'defines the client module class methods on the model' do
36-
expect(DummyClientModel.client).to be_a(Elasticsearch::Transport::Client)
36+
expect(DummyClientModel.client).to be_a(Elasticsearch::Client)
3737
end
3838
end
3939

4040
context 'when a class includes the client module instance methods' do
4141

4242
it 'defines the client module class methods on the model' do
43-
expect(DummyClientModel.new.client).to be_a(Elasticsearch::Transport::Client)
43+
expect(DummyClientModel.new.client).to be_a(Elasticsearch::Client)
4444
end
4545
end
4646

@@ -77,7 +77,7 @@ class ::DummyClientModel
7777
end
7878

7979
it 'does not set the client on the class' do
80-
expect(DummyClientModel.client).to be_a(Elasticsearch::Transport::Client)
80+
expect(DummyClientModel.client).to be_a(Elasticsearch::Client)
8181
end
8282
end
8383
end

0 commit comments

Comments
 (0)