Sha256: 0ae582737f860bf89c89bcc9a50dff15780d8353872b8154d043d0ccc1427209

Contents?: true

Size: 182 Bytes

Versions: 2

Compression:

Stored size: 182 Bytes

Contents

require 'spec_helper'


describe LruHash do

  it 'is available from the root namespace' do

    h = LruHash.new(1)

    2.times { |i| h[i] = i }

    h.size.should == 1
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rufus-lru-1.0.5 spec/lru_hash_spec.rb
rufus-lru-1.0.4 spec/lru_hash_spec.rb