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/dispatch | |
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/dispatch')
-rw-r--r-- | actionpack/test/dispatch/system_testing/server_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/test/dispatch/system_testing/server_test.rb b/actionpack/test/dispatch/system_testing/server_test.rb index 95e411faf4..740e90a4da 100644 --- a/actionpack/test/dispatch/system_testing/server_test.rb +++ b/actionpack/test/dispatch/system_testing/server_test.rb @@ -17,7 +17,7 @@ class ServerTest < ActiveSupport::TestCase test "server is changed from `default` to `puma`" do Capybara.server = :default ActionDispatch::SystemTesting::Server.new.run - refute_equal Capybara.server, Capybara.servers[:default] + assert_not_equal Capybara.server, Capybara.servers[:default] end test "server is not changed to `puma` when is different than default" do |