Sha256: 045022224755c64597774a87157e7feee02def34c5d7d83b68d696fa122efc4f

Contents?: true

Size: 180 Bytes

Versions: 3

Compression:

Stored size: 180 Bytes

Contents

require 'helper'

describe Toy::Identity::UUIDKeyFactory do
  it "should use uuid for next key" do
    Toy::Identity::UUIDKeyFactory.new.next_key(nil).length.should == 36
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
toystore-0.6.1 spec/toy/identity/uuid_key_factory_spec.rb
toystore-0.6 spec/toy/identity/uuid_key_factory_spec.rb
toystore-0.5 spec/toy/identity/uuid_key_factory_spec.rb