diff options
author | Rafael França <rafaelmfranca@gmail.com> | 2018-04-19 15:03:28 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-19 15:03:28 -0400 |
commit | 6fec9c27e5563d7c98e123c8d8eb8ef2f0c34b65 (patch) | |
tree | 69e4232782e4a499aa018ad3d713ccb57242d043 /actionpack/test/controller/http_digest_authentication_test.rb | |
parent | d72990c63abb940108b9957dcac09fe04e93f3d1 (diff) | |
parent | a1ac18671a90869ef81d02f2eafe8104e4eea34f (diff) | |
download | rails-6fec9c27e5563d7c98e123c8d8eb8ef2f0c34b65.tar.gz rails-6fec9c27e5563d7c98e123c8d8eb8ef2f0c34b65.tar.bz2 rails-6fec9c27e5563d7c98e123c8d8eb8ef2f0c34b65.zip |
Merge pull request #32605 from composerinteralia/assert-not
Add RuboCop for `assert_not` over `assert !`
Diffstat (limited to 'actionpack/test/controller/http_digest_authentication_test.rb')
-rw-r--r-- | actionpack/test/controller/http_digest_authentication_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/test/controller/http_digest_authentication_test.rb b/actionpack/test/controller/http_digest_authentication_test.rb index 560157dc61..3f211cd60d 100644 --- a/actionpack/test/controller/http_digest_authentication_test.rb +++ b/actionpack/test/controller/http_digest_authentication_test.rb @@ -202,7 +202,7 @@ class HttpDigestAuthenticationTest < ActionController::TestCase test "validate_digest_response should fail with nil returning password_procedure" do @request.env["HTTP_AUTHORIZATION"] = encode_credentials(username: nil, password: nil) - assert !ActionController::HttpAuthentication::Digest.validate_digest_response(@request, "SuperSecret") { nil } + assert_not ActionController::HttpAuthentication::Digest.validate_digest_response(@request, "SuperSecret") { nil } end test "authentication request with request-uri ending in '/'" do |