Reviewed: https://review.opendev.org/c/openstack/puppet-sahara/+/872088 Committed: https://opendev.org/openstack/puppet-sahara/commit/aee89870e6d99baee12dabd138baf86574938418 Submitter: "Zuul (22348)" Branch: master
commit aee89870e6d99baee12dabd138baf86574938418 Author: Takashi Kajinami <email address hidden> Date: Mon Jan 30 13:13:16 2023 +0900
Replace mocha by rspec-mocks
puppetlabs_spec_helper recommends rspec-mocks instead of mocha[1] and it uses rspec-mocks by default instead of mocha since v 5.0.0[2]
This is the prep work to adapt to that migration.
[1] https://github.com/puppetlabs/puppetlabs_spec_helper/#mock_with [2] https://github.com/puppetlabs/puppetlabs_spec_helper/commit/493f0cbc1c96a3fa67591f3936430a70af74847f
Closes-Bug: #2004135 Change-Id: I6336a8fbf1a2ca5036740086d9a5ac13a5a28113
Reviewed: https:/ /review. opendev. org/c/openstack /puppet- sahara/ +/872088 /opendev. org/openstack/ puppet- sahara/ commit/ aee89870e6d99ba ee12dabd138baf8 6574938418
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit aee89870e6d99ba ee12dabd138baf8 6574938418
Author: Takashi Kajinami <email address hidden>
Date: Mon Jan 30 13:13:16 2023 +0900
Replace mocha by rspec-mocks
puppetlabs_ spec_helper recommends rspec-mocks instead of mocha[1] and
it uses rspec-mocks by default instead of mocha since v 5.0.0[2]
This is the prep work to adapt to that migration.
[1] https:/ /github. com/puppetlabs/ puppetlabs_ spec_helper/ #mock_with /github. com/puppetlabs/ puppetlabs_ spec_helper/ commit/ 493f0cbc1c96a3f a67591f3936430a 70af74847f
[2] https:/
Closes-Bug: #2004135 5036740086d9a5a c13a5a28113
Change-Id: I6336a8fbf1a2ca