Sha256: e42065a402f0c124dbe93d97a44341f74c50f09ee1fc5d4683599b562d7c2768
Contents?: true
Size: 356 Bytes
Versions: 10
Compression:
Stored size: 356 Bytes
Contents
require 'spec_helper' describe Sufia::IdService do describe "mint" do before(:all) do @id = Sufia::IdService.mint end it "should create a unique id" do @id.should_not be_empty end it "should not mint the same id twice in a row" do other_id = Sufia::IdService.mint other_id.should_not == @id end end end
Version data entries
10 entries across 10 versions & 1 rubygems