Sha256: e2cbc86fd076786c680b7ae12caa534190bd6cf5f0d40774f73a8ad6bf9234e6
Contents?: true
Size: 232 Bytes
Versions: 40
Compression:
Stored size: 232 Bytes
Contents
require 'spec_helper' describe Clearance::Token do it 'is a random hex string' do token = 'my_token' allow(SecureRandom).to receive(:hex).with(20).and_return(token) expect(Clearance::Token.new).to eq token end end
Version data entries
40 entries across 40 versions & 1 rubygems