Yes, it will be an error since ```num``` isn't define.
You should take another approach I mentioned on another my comment (https://github.com/quyetdd/canpass_draft/pull/8/files#r4127535).
or, you can remove ```username: ...``` and ```email: ...``` if you don't need them in this spec.