diff --git a/spec/models/metric/ci_mixin_spec.rb b/spec/models/metric/ci_mixin_spec.rb index 9be783ad073..7ff76415f9a 100644 --- a/spec/models/metric/ci_mixin_spec.rb +++ b/spec/models/metric/ci_mixin_spec.rb @@ -63,26 +63,4 @@ end end end - - context "#supports?(:capture)" do - context "with a VM" do - let(:unsupported_vm) { FactoryBot.create(:vm_kubevirt) } - let(:supported_vm) { FactoryBot.create(:vm_vmware) } - - it "correctly checks capture support" do - expect(unsupported_vm.supports?(:capture)).to be_falsy - expect(supported_vm.supports?(:capture)).to be_truthy - end - end - - context "with a Host" do - let(:unsupported_host) { FactoryBot.create(:ibm_power_hmc_host) } - let(:supported_host) { FactoryBot.create(:host_vmware) } - - it "correctly checks capture support" do - expect(unsupported_host.supports?(:capture)).to be_falsy - expect(supported_host.supports?(:capture)).to be_truthy - end - end - end end