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

Address duplicate load warnings #2574

Merged
merged 2 commits into from
Oct 9, 2024
Merged

Conversation

aramprice
Copy link
Member

- shared examples live under `spec/shared_examples/`

This change should reduce "has been previously defined at" warnings
Previously a generic `double()` was being returned `as_null_object`
which allowed any number of method chains to be called. This commit
changes the object to be a set of instance doubles with one specific
method `#can_sign_urls?` explicitly stubbed on
`Bosh::Blobstore::BaseClient` as `false` which would have been the
value returned in the "null object" case.
@aramprice aramprice force-pushed the address-duplicate-load-warnings branch from 41e1784 to 60046ab Compare October 8, 2024 17:30
@aramprice aramprice merged commit 38c2105 into main Oct 9, 2024
26 checks passed
@aramprice aramprice deleted the address-duplicate-load-warnings branch October 9, 2024 17:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging this pull request may close these issues.

1 participant