Skip to content

Conversation

@tgxworld
Copy link
Contributor

@tgxworld tgxworld commented Dec 5, 2024

Broken by cbb669b

::Dalli.stub_const(:Client) do
mock = Minitest::Mock.new
mock.expect :call, nil, [Dalli::Client, Array, :memcache, { instrument: :alias_method }]
mock.expect :call, nil, [Dalli::Client, Array, :memcache], instrument: :alias_method
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't 100% know my way around but if we reference the other lines this fixes the build

Copy link

@martin-brennan martin-brennan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sometimes the ability to leave out parenthesis in ruby is really not helpful 😬

@tgxworld tgxworld merged commit 4e21b4c into main Dec 5, 2024
11 checks passed
@tgxworld tgxworld deleted the fix_tests branch December 5, 2024 00:29
@tgxworld
Copy link
Contributor Author

tgxworld commented Dec 5, 2024

Thank you @martin-brennan 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants