Skip to content

Commit

Permalink
Fix not deployed spec
Browse files Browse the repository at this point in the history
  • Loading branch information
esmarkowski committed Mar 28, 2024
1 parent cbc336b commit 3af5c51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/stretchy/machine_learning/model_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,8 @@

context 'not deployed' do
it 'should check if deployed' do
# described_class.registry.delete
model.instance_variable_set(:@deployed, nil)
allow(model).to receive(:model_id).and_return('78910')
allow(model).to receive(:registry).and_return(double('Registry', model_id: '78910'))
allow(model.client).to receive(:get_model).with(id: '78910').and_return(status_deploying)
expect(model.deployed?).to be_falsey
Expand Down

0 comments on commit 3af5c51

Please sign in to comment.