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 set a result to your function to check if result is same.
def a return 'test string' end
then it { expect(Test.b).to eq(Test.a) }
is it ok?