Made method in my features spec file