Sha256: b50018fd630169cd56d0f10f55431cfa4a70fc8b1d2bfa377cbd3f66e5b3c609

Contents?: true

Size: 269 Bytes

Versions: 3

Compression:

Stored size: 269 Bytes

Contents

require_relative "../test-util"

describe "Pione::Util::UUID" do
  it "should genereate UUID as a string" do
    Util::UUID.generate.should.kind_of(String)
  end

  it "should generate UUID as an iteger" do
    Util::UUID.generate_int.should.kind_of(Integer)
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
pione-0.2.2 test/util/spec_uuid.rb
pione-0.2.1 test/util/spec_uuid.rb
pione-0.2.0 test/util/spec_uuid.rb