/usr/lib/ruby/vendor_ruby/fog/test_helpers/responds_to_helper.rb is in ruby-fog-core 1.45.0-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 | module Shindo
class Tests
def responds_to(method_names)
method_names.each do |method_name|
tests("#respond_to?(:#{method_name})").returns(true) do
@instance.respond_to?(method_name)
end
end
end
end
end
|