Skip to content

Conversation

@egiurleo
Copy link
Contributor

@egiurleo egiurleo commented Jan 3, 2020

No description provided.

end
end

shared_examples_for 'auth mechanism that uses database or default auth source' do |default_auth_source:|
Copy link
Contributor

Choose a reason for hiding this comment

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

Would do |default_auth_source: nil| fix this also?

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 was going to try that next. Let's see!

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 tried that out, and rspec seems to think that I'm not passing in any value for default_auth_source. I know that keyword arguments are changing in Ruby 2.7/3, but I believe the existing syntax should still work, so I'm not sure how that's related.

How would you feel about just removing the keyword argument for now?

@egiurleo egiurleo changed the title Pin mlaunch version on evergreen RUBY-2060 Pin mlaunch version on evergreen Jan 6, 2020
@egiurleo egiurleo merged commit 7145f85 into mongodb:master Jan 6, 2020
@egiurleo egiurleo deleted the pin-mlaunch branch January 6, 2020 21:01
p-mongo pushed a commit that referenced this pull request Jan 6, 2020
* pin mlaunch version

* remove keyword argument from spec

* Re-running tests
p-mongo pushed a commit that referenced this pull request Jan 6, 2020
* pin mlaunch version

* remove keyword argument from spec

* Re-running tests
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