Class: BoltSpec::Plans::MockPuppetDBClient
- Inherits:
-
Object
- Object
- BoltSpec::Plans::MockPuppetDBClient
- Defined in:
- lib/bolt_spec/plans.rb
Overview
Provided as a class so expectations can be placed on it.
Instance Method Summary collapse
-
#initialize(config) ⇒ MockPuppetDBClient
constructor
A new instance of MockPuppetDBClient.
- #instance(_instance) ⇒ Object
Constructor Details
#initialize(config) ⇒ MockPuppetDBClient
Returns a new instance of MockPuppetDBClient.
106 107 108 |
# File 'lib/bolt_spec/plans.rb', line 106 def initialize(config) @instance = MockPuppetDBInstance.new(config) end |
Instance Method Details
#instance(_instance) ⇒ Object
110 111 112 |
# File 'lib/bolt_spec/plans.rb', line 110 def instance(_instance) @instance end |