Skip to content

Commit

Permalink
Inline temp
Browse files Browse the repository at this point in the history
  • Loading branch information
nitishr committed Aug 30, 2022
1 parent 1da3376 commit c68ad49
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/assertions.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
module Assertions
def assert_method_visibility(object, method_name, visiblity)
method_key = method_name.to_sym
assert object.send("#{visiblity}_methods").include?(method_key), "#{method_name} is not #{visiblity}"
assert object.send("#{visiblity}_methods").include?(method_name.to_sym), "#{method_name} is not #{visiblity}"
end
end

0 comments on commit c68ad49

Please sign in to comment.