diff options
author | Rafael França <rafaelmfranca@gmail.com> | 2018-04-04 18:19:35 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-04 18:19:35 -0400 |
commit | fe4e9d4c5d82806fdaf28c87c731132f81f0ac3e (patch) | |
tree | 7d96907def4d04a69495206f6e806c0590ad835e /actionpack/test/controller/integration_test.rb | |
parent | 826b17cd8a4f0416fd6b8451199fd0f1fa20f417 (diff) | |
parent | c1ceafc9d128b430f27d43d98369683c59c33021 (diff) | |
download | rails-fe4e9d4c5d82806fdaf28c87c731132f81f0ac3e.tar.gz rails-fe4e9d4c5d82806fdaf28c87c731132f81f0ac3e.tar.bz2 rails-fe4e9d4c5d82806fdaf28c87c731132f81f0ac3e.zip |
Merge pull request #32441 from composerinteralia/refute-not
Add custom RuboCop for `assert_not` over `refute`
Diffstat (limited to 'actionpack/test/controller/integration_test.rb')
-rw-r--r-- | actionpack/test/controller/integration_test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/test/controller/integration_test.rb b/actionpack/test/controller/integration_test.rb index a685f5868e..8a49d7822e 100644 --- a/actionpack/test/controller/integration_test.rb +++ b/actionpack/test/controller/integration_test.rb @@ -345,7 +345,7 @@ class IntegrationProcessTest < ActionDispatch::IntegrationTest follow_redirect! assert_response :ok - refute_same previous_html_document, html_document + assert_not_same previous_html_document, html_document end end @@ -375,7 +375,7 @@ class IntegrationProcessTest < ActionDispatch::IntegrationTest a = open_session b = open_session - refute_same(a.integration_session, b.integration_session) + assert_not_same(a.integration_session, b.integration_session) end def test_get_with_query_string |