aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/controller/integration_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/integration_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/integration_test.rb')
-rw-r--r--actionpack/test/controller/integration_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/test/controller/integration_test.rb b/actionpack/test/controller/integration_test.rb
index 8a49d7822e..9cdf04b886 100644
--- a/actionpack/test/controller/integration_test.rb
+++ b/actionpack/test/controller/integration_test.rb
@@ -135,7 +135,7 @@ class IntegrationTestTest < ActiveSupport::TestCase
session1 = @test.open_session { |sess| }
session2 = @test.open_session # implicit session
- assert !session1.equal?(session2)
+ assert_not session1.equal?(session2)
end
# RSpec mixes Matchers (which has a #method_missing) into