pass default value to config method, use it in specs