trying to fix travis build

NoMethodError: undefined method