UNPKG

wiki-server

Version:
9 lines (7 loc) 241 B
random = require '../lib/random_id' describe 'random', -> describe '#random_id', -> it 'should not be the same twice', -> random().should.not.equal random() it 'should be 16 digits', -> random().length.should.equal 16