aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/controller/http_digest_authentication_test.rb
diff options
context:
space:
mode:
authorRafael França <rafaelmfranca@gmail.com>2018-04-19 15:03:28 -0400
committerGitHub <noreply@github.com>2018-04-19 15:03:28 -0400
commit6fec9c27e5563d7c98e123c8d8eb8ef2f0c34b65 (patch)
tree69e4232782e4a499aa018ad3d713ccb57242d043 /actionpack/test/controller/http_digest_authentication_test.rb
parentd72990c63abb940108b9957dcac09fe04e93f3d1 (diff)
parenta1ac18671a90869ef81d02f2eafe8104e4eea34f (diff)
downloadrails-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.rb2
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