aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/dispatch
diff options
context:
space:
mode:
authorRafael França <rafaelmfranca@gmail.com>2018-04-04 18:19:35 -0400
committerGitHub <noreply@github.com>2018-04-04 18:19:35 -0400
commitfe4e9d4c5d82806fdaf28c87c731132f81f0ac3e (patch)
tree7d96907def4d04a69495206f6e806c0590ad835e /actionpack/test/dispatch
parent826b17cd8a4f0416fd6b8451199fd0f1fa20f417 (diff)
parentc1ceafc9d128b430f27d43d98369683c59c33021 (diff)
downloadrails-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.rb2
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