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