From 5dfa49fb80bd59c464b5ed770e02dd7f24178e88 Mon Sep 17 00:00:00 2001 From: James Mead Date: Wed, 31 Aug 2022 18:31:09 +0100 Subject: [PATCH] Fix typo in assert_method_visibility arg name --- test/assertions.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/assertions.rb b/test/assertions.rb index bf30710c..9fab9d69 100644 --- a/test/assertions.rb +++ b/test/assertions.rb @@ -1,5 +1,5 @@ module Assertions - def assert_method_visibility(object, method_name, visiblity) - assert object.send("#{visiblity}_methods").include?(method_name), "#{method_name} is not #{visiblity}" + def assert_method_visibility(object, method_name, visibility) + assert object.send("#{visibility}_methods").include?(method_name), "#{method_name} is not #{visibility}" end end