5 Commits

Author SHA1 Message Date
Takashi Kajinami
167233f2a4 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='...
```
[1] 316d95923c
Change-Id: I4e721db958c1e47efd6bf9141fa779240d3c5b60
2023年10月11日 12:07:33 +09:00
Takashi Kajinami
040ef880ae Set fixture paths for unit tests
This change defines manifest_dir and module_path expicitly in unit
tests so that modules installed under fixtures directory is properly
loaded.
Change-Id: I5bf6cd967d1e0e9fe4eaac0dac242dbc7b88a771
Closes-Bug: #1930403 
2021年06月15日 19:20:19 +09:00
Alex Schultz
2faa674e38 Move rspec-puppet-facts to spec helper
This change updates the module to use the rspec-puppet-facts as defined
in the puppet-openstack_spec_helper.
Change-Id: I295722d3accc7ac2d49514ca1abe2806077f7aa5
2016年09月30日 13:27:34 -06:00
Xingchao
83062c3624 Fix multiple bugs in puppet-oslo
This patch aims to make puppet-oslo work:
 - fix oslo::versionedobjects spec
 - fix oslo::policy
 - drop mock dependency
 - add acceptance by msync
Co-Authored-By: Emilien Macchi <emilien@redhat.com>
Closes-Bug: #1492636
Change-Id: Icbb1df3498432d2a95342a14ce57b45b65a132c9
2016年01月26日 01:34:40 +08:00
Xingchao Yu
62a468ab27 Add spec_helper and spec_helper_acceptance file
- spec_helper.rb
 - spec_helper_acceptance.rb
2016年01月22日 19:09:19 +08:00