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

Fixes failing test when you have a cred file #343

Merged
merged 2 commits into from
Aug 23, 2018

Conversation

dmccown
Copy link
Contributor

@dmccown dmccown commented Aug 23, 2018

This test could fail in cases where you already have a credentails file
in the default path (~/.azure/credentials).

I am moving the default
behavior to azure.rb so file_credentials can operate on what you
pass in. This makes an easier contract as the caller must provide a file,
and the test easier since there's no defaulting behavior.

Signed-off-by: David McCown dmccown@chef.io

David McCown added 2 commits August 23, 2018 09:50
This test could fail in cases where you already have a credentails file
in the default path (~/.azure/credentials).

I am moving the default
behavior to `azure.rb` so `file_credentials` can operate on what you
pass in. This makes an easier contract as the caller must provide a file,
and the test easier since there's no defaulting behavior.

Signed-off-by: David McCown <dmccown@chef.io>
Signed-off-by: David McCown <dmccown@chef.io>
Copy link
Contributor

@jquick jquick left a comment

Choose a reason for hiding this comment

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

Thanks @dmccown !

@jquick jquick merged commit 5411bf1 into master Aug 23, 2018
@jquick jquick deleted the dmccown/fixes-file-cred-test branch August 23, 2018 15:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants