Skip to content

Commit

Permalink
[cleanup] Remove version check, since we only support from 4 and high…
Browse files Browse the repository at this point in the history
…er now
  • Loading branch information
Johan De Wit committed Jan 20, 2024
1 parent e67ae30 commit 5231e51
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions spec/unit/puppet/provider/mongodb_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5231e51

Please sign in to comment.