Skip to content

Commit

Permalink
spec: test search in load balancer
Browse files Browse the repository at this point in the history
  • Loading branch information
Stefan Koch committed Jun 22, 2023
1 parent 940784d commit cdfb86c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions spec/hcloud/load_balancer_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
require 'active_support/all'
require 'spec_helper'
require 'support/it_supports_fetch'
require 'support/it_supports_search'
require 'support/it_supports_find_by_id_and_name'
require 'support/it_supports_update'
require 'support/it_supports_destroy'
Expand All @@ -21,6 +22,7 @@
end

include_examples 'it_supports_fetch', described_class
include_examples 'it_supports_search', described_class, %i[name label_selector]
include_examples 'it_supports_find_by_id_and_name', described_class
include_examples 'it_supports_update', described_class, { name: 'new_name' }
include_examples 'it_supports_destroy', described_class
Expand Down
2 changes: 2 additions & 0 deletions spec/hcloud/load_balancer_type_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

require 'spec_helper'
require 'support/it_supports_fetch'
require 'support/it_supports_search'
require 'support/it_supports_find_by_id_and_name'

describe Hcloud::LoadBalancerType, doubles: :load_balancer_type do
Expand All @@ -16,5 +17,6 @@
end

include_examples 'it_supports_fetch', described_class
include_examples 'it_supports_search', described_class, %i[name]
include_examples 'it_supports_find_by_id_and_name', described_class
end

0 comments on commit cdfb86c

Please sign in to comment.