Skip to content
This repository was archived by the owner on Jun 2, 2021. It is now read-only.

Commit 14f6717

Browse files
author
Derik Evangelista
committed
v3(bindings): fix flaky test
1 parent 7e73730 commit 14f6717

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

spec/unit/models/services/service_binding_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -531,7 +531,7 @@ def new_model
531531
expect(binding.credentials).to eq(credentials.with_indifferent_access)
532532
expect(binding.syslog_drain_url).to eq('http://foo.example.com/bar')
533533
expect(binding.volume_mounts).to eq(volume_mounts)
534-
expect(ServiceBinding.count).to eq(1)
534+
expect(ServiceBinding.where(guid: binding.guid).count).to eq(1)
535535
end
536536

537537
it 'only saves permitted attributes' do

0 commit comments

Comments
 (0)