Class: PoiseService::Resources::PoiseServiceTest::Resource
- Inherits:
-
Chef::Resource
- Object
- Chef::Resource
- PoiseService::Resources::PoiseServiceTest::Resource
- Includes:
- Poise
- Defined in:
- lib/poise_service/resources/poise_service_test.rb
Overview
A poise_service_test
resource for integration testing service providers.
This is used in Test-Kitchen tests to ensure all providers behave
similarly.
Instance Attribute Summary collapse
-
#base_port ⇒ Integer
Port number to start from for the test group.
-
#service_options ⇒ Hash?
Service options to set for the test group.
-
#service_provider ⇒ Symbol
Service provider to set for the test group.
Instance Attribute Details
#base_port ⇒ Integer
Port number to start from for the test group.
54 |
# File 'lib/poise_service/resources/poise_service_test.rb', line 54 attribute(:base_port, kind_of: Integer) |
#service_options ⇒ Hash?
Service options to set for the test group.
50 |
# File 'lib/poise_service/resources/poise_service_test.rb', line 50 attribute(:service_options, kind_of: [Hash, NilClass]) |
#service_provider ⇒ Symbol
Service provider to set for the test group.
46 |
# File 'lib/poise_service/resources/poise_service_test.rb', line 46 attribute(:service_provider, kind_of: Symbol) |