aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/dispatch/request_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'actionpack/test/dispatch/request_test.rb')
-rw-r--r--actionpack/test/dispatch/request_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/test/dispatch/request_test.rb b/actionpack/test/dispatch/request_test.rb
index 8e5c953ad6..84a2d1f69e 100644
--- a/actionpack/test/dispatch/request_test.rb
+++ b/actionpack/test/dispatch/request_test.rb
@@ -1253,7 +1253,7 @@ class RequestVariant < BaseRequestTest
test "clearing variant" do
@request.variant = nil
- assert_predicate @request.variant, :empty?
+ assert_empty @request.variant
assert_not_predicate @request.variant, :phone?
assert_not @request.variant.any?(:phone, :tablet)
end