puppet-sahara/spec
Takashi Kajinami 743331c9f4 Remove usage of deleted manifest_dir
Recent update in rspec-puppet removed some of the config interfaces for
old puppet versions[1]. This drops usage of these interfaces to resolve
the following error in unit tests.

```
An error occurred while loading ./spec/unit/provider/manila_spec.rb.
Failure/Error: c.manifest_dir = File.join(fixture_path, 'manifests')

NoMethodError:
  undefined method `manifest_dir='...
```

This also removes explicit setting of mock module. The definition is
no longer required since we bumped puppetlabs_spec_helper to v 5.0.0.

[1] 316d95923c

Change-Id: I026d047d4b11be70b871dea18d39f58ab09bd2e0
2023-10-11 12:09:20 +09:00
..
acceptance Ubuntu: Check TCP port in acceptance tests 2023-03-22 16:34:56 +09:00
classes RabbitMQ: Add support for quorum queue options 2023-09-15 14:11:31 +09:00
unit Replace mocha by rspec-mocks 2023-01-30 13:26:51 +09:00
shared_examples.rb Load libraries in a single place 2021-12-27 13:39:36 +09:00
spec_helper_acceptance.rb Add Puppet Litmus 2020-09-11 11:55:26 +00:00
spec_helper.rb Remove usage of deleted manifest_dir 2023-10-11 12:09:20 +09:00