Skip to content

Commit 5bdecd4

Browse files
committed
Make the API versions spec work with Kafka 0.11 as well
1 parent e2d593d commit 5bdecd4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/functional/api_versions_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
produce_api = kafka.apis.find {|v| v.api_key == 0 }
44

55
expect(produce_api.min_version).to eq 0
6-
expect(produce_api.max_version).to eq 2
6+
expect(produce_api.max_version).to be >= 2
77
end
88
end

0 commit comments

Comments
 (0)