class RubyIndexer::ReferenceFinderTest
def test_find_inherited_methods
def test_find_inherited_methods refs = find_method_references("foo", <<~RUBY) class Bar def foo end end class Baz < Bar super.foo end RUBY assert_equal(2, refs.size) assert_equal("foo", refs[0].name) assert_equal(2, refs[0].location.start_line) assert_equal("foo", refs[1].name) assert_equal(7, refs[1].location.start_line) end