Sha256: 35c8cd2c8eff5a02cb65b32c93f72d67936da5ddcbef7af4749a3c1b1f22cbfc

Contents?: true

Size: 500 Bytes

Versions: 10

Compression:

Stored size: 500 Bytes

Contents

require 'rspectacular'

class Referenced
end

# 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

10 entries across 10 versions & 1 rubygems

Version Path
referehencible-1.1.2 spec/lib/referehencible_spec.rb
referehencible-1.1.1 spec/lib/referehencible_spec.rb
referehencible-1.1.0 spec/lib/referehencible_spec.rb
referehencible-1.0.0 spec/lib/referehencible_spec.rb
referehencible-0.5.1 spec/lib/referehencible_spec.rb
referehencible-0.5.0 spec/lib/referehencible_spec.rb
referehencible-0.4.0 spec/lib/referehencible_spec.rb
referehencible-0.3.0 spec/lib/referehencible_spec.rb
referehencible-0.2.0 spec/lib/referehencible_spec.rb
referehencible-0.1.1 spec/lib/referehencible_spec.rb