Add more variants to specs for GemHelpers#generic
Remove useless code from GemHelpers#generic