aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test/array_inquirer_test.rb
diff options
context:
space:
mode:
authorRafael França <rafaelmfranca@gmail.com>2018-01-26 13:15:30 -0500
committerGitHub <noreply@github.com>2018-01-26 13:15:30 -0500
commit85fcb663363cd27220e8bd3136973cc3408cf7d7 (patch)
tree8521ed5477f475e1de8bcb89b689bbd3b1abeae8 /activesupport/test/array_inquirer_test.rb
parent8baca31dbe522cb407f0b3b8c8d3d4a6804e5aed (diff)
parentfda1863e1a8c120294c56482631d8254ad6125ff (diff)
downloadrails-85fcb663363cd27220e8bd3136973cc3408cf7d7.tar.gz
rails-85fcb663363cd27220e8bd3136973cc3408cf7d7.tar.bz2
rails-85fcb663363cd27220e8bd3136973cc3408cf7d7.zip
Merge pull request #31786 from composerinteralia/respond-to-tests
Use respond_to test helpers
Diffstat (limited to 'activesupport/test/array_inquirer_test.rb')
-rw-r--r--activesupport/test/array_inquirer_test.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/activesupport/test/array_inquirer_test.rb b/activesupport/test/array_inquirer_test.rb
index d5419b862d..9a260edd8a 100644
--- a/activesupport/test/array_inquirer_test.rb
+++ b/activesupport/test/array_inquirer_test.rb
@@ -9,9 +9,9 @@ class ArrayInquirerTest < ActiveSupport::TestCase
end
def test_individual
- assert @array_inquirer.mobile?
- assert @array_inquirer.tablet?
- assert_not @array_inquirer.desktop?
+ assert_predicate @array_inquirer, :mobile?
+ assert_predicate @array_inquirer, :tablet?
+ assert_not_predicate @array_inquirer, :desktop?
end
def test_any