master
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]
|
||
|
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 |
||
|
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 |
||
|
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 |
||
|
Xingchao Yu
|
62a468ab27 |
Add spec_helper and spec_helper_acceptance file
- spec_helper.rb - spec_helper_acceptance.rb |