Sha256: 05cdbef48e67b13c1e0f953ed50246b499e1d474d1cba29d686094068a75785a
Contents?: true
Size: 509 Bytes
Versions: 1
Compression:
Stored size: 509 Bytes
Contents
# frozen_string_literal: true require 'rspectacular' # describe Referehencible do # it { expect(subject).to allow_value('a' * 32).for :guid } # it { expect(subject).not_to allow_value('a' * 33).for :guid } # it { expect(subject).not_to allow_value('y' * 32).for :guid } # # it 'cannot create two tokenables with the same guid' do # referenced = Referenced.new # referenced guid: '3dd76acc3d4a2f2e33b5316500b8a484') # # expect(subject).to validate_uniqueness_of(:guid) # end # end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
referehencible-1.1.3 | spec/lib/referehencible_spec.rb |