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