-
Notifications
You must be signed in to change notification settings - Fork 533
RUBY-2619 Add test for security-sensitive commands #2286
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
Conversation
|
Waiting for mongodb/specifications#1026 |
spec/runners/crud/requirement.rb
Outdated
| end | ||
| end | ||
| if @auth | ||
| ok &&= (@auth == cc.auth_enabled?) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should simply be ok &&= cc.auth_enabled?, the extra equality condition may fail if auth_enabled? returns a truthy but not true value.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
357cc32 to
76b4f92
Compare
No description provided.