Skip to content

Commit

Permalink
Fix typo in assert_method_visibility arg name
Browse files Browse the repository at this point in the history
  • Loading branch information
floehopper committed Aug 31, 2022
1 parent 6b678ae commit 5dfa49f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/assertions.rb
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 5dfa49f

Please sign in to comment.