Skip to content

Commit

Permalink
Test fix up
Browse files Browse the repository at this point in the history
  • Loading branch information
dturn committed Oct 8, 2019
1 parent 81f4b69 commit 7831b5e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/unit/cluster_resource_discovery_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ def test_global_resource_kinds_failure
def test_global_resource_kinds_success
crd = mocked_cluster_resource_discovery(full_response)
kinds = crd.global_resource_kinds
%w(MutatingWebhookConfiguration ComponentStatus ComponentStatus).each do |kind|
assert_equal kinds.length, full_response.split("\n").length - 1
%w(MutatingWebhookConfiguration ComponentStatus CustomResourceDefinition).each do |kind|
assert_includes(kinds, kind)
end
end
Expand Down

0 comments on commit 7831b5e

Please sign in to comment.