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/integration_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/integration_test.rb')
-rw-r--r-- | actionpack/test/controller/integration_test.rb | 2 |
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 |