memoize repeat_until in after_initialize
remove duplicate spec