From 5231e51a93e585266cdf5fbab3074685dee3541c Mon Sep 17 00:00:00 2001 From: Johan De Wit Date: Thu, 17 Aug 2023 17:06:45 +0200 Subject: [PATCH] [cleanup] Remove version check, since we only support from 4 and higher now --- spec/unit/puppet/provider/mongodb_spec.rb | 3 --- 1 file changed, 3 deletions(-) diff --git a/spec/unit/puppet/provider/mongodb_spec.rb b/spec/unit/puppet/provider/mongodb_spec.rb index 706b0a887..a04af823a 100644 --- a/spec/unit/puppet/provider/mongodb_spec.rb +++ b/spec/unit/puppet/provider/mongodb_spec.rb @@ -23,9 +23,6 @@ v.each do |key, _results| it "version detection for [#{key}]" do allow(provider_class).to receive(:mongo_eval).with('db.version()').and_return(key) - expect(provider_class.mongo_4?).to be results['4'] - expect(provider_class.mongo_5?).to be results['5'] - expect(provider_class.mongo_6?).to be results['6'] end end end