Sha256: 44ca540f6b883c43505a4f63c322216a3caba64ebddec59d1ca9f6d881449dce
Contents?: true
Size: 237 Bytes
Versions: 10
Compression:
Stored size: 237 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
10 entries across 10 versions & 1 rubygems