We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a1b4e23 commit 38a353fCopy full SHA for 38a353f
spec/es_spec_helper.rb
@@ -52,7 +52,6 @@ def self.es_version
52
end
53
54
RSpec::Matchers.define :have_hits do |expected|
55
- es_version = RSpec.configuration.filter[:es_version] || ENV['ES_VERSION']
56
match do |actual|
57
if ESHelper.es_version_satisfies?(">=7")
58
expected == actual['hits']['total']['value']
0 commit comments