How to test if if method has an alias?
Let\'s say we have
Class Test class << self def a;end alias :b :a end end
You can use:
expect(obj.method(:method)).to eq(obj.method(:alias))