Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix stubbing of AwesomeSpawn private method results #568

Merged
merged 1 commit into from
Nov 2, 2023

Conversation

agrare
Copy link
Member

@agrare agrare commented Nov 2, 2023

This spec was stubbing an internal AwesomeSpawn method whose calling convention changed causing the spec to fail.

Changed the test to stub the external AwesomeSpawn interface instead which will be more stable across releases.

https://github.com/ManageIQ/awesome_spawn/pull/49/files#diff-d7c9ccd39e13a57416ff9b126be974738eab8e8f09451094d0e8108af465f1b8R81

This spec was stubbing an internal AwesomeSpawn method whose calling
convention changed causing the spec to fail.

Changed the test to stub the external AwesomeSpawn interface instead
which will be more stable across releases.
@miq-bot
Copy link
Member

miq-bot commented Nov 2, 2023

Checked commit agrare@561c32a with ruby 2.6.10, rubocop 1.28.2, haml-lint 0.35.0, and yamllint
1 file checked, 0 offenses detected
Everything looks fine. ⭐

@Fryguy Fryguy merged commit 4c4222a into ManageIQ:master Nov 2, 2023
3 checks passed
@Fryguy Fryguy self-assigned this Nov 2, 2023
@Fryguy
Copy link
Member

Fryguy commented Nov 2, 2023

Backported to quinteros in commit 0649ee3.

commit 0649ee3c0ae4f9b3c7ca723a87ad48109cbc0f3b
Author: Jason Frey <fryguy9@gmail.com>
Date:   Thu Nov 2 08:52:14 2023 -0400

    Merge pull request #568 from agrare/fix_awesome_spawn_launch_stub
    
    Fix stubbing of AwesomeSpawn private method results
    
    (cherry picked from commit 4c4222af499869e7839d7bf0e2a9452a0ec213e9)

Fryguy added a commit that referenced this pull request Nov 2, 2023
Fix stubbing of AwesomeSpawn private method results

(cherry picked from commit 4c4222a)
@agrare agrare deleted the fix_awesome_spawn_launch_stub branch November 2, 2023 13:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants