main
 1require "spec_helper"
 2
 3describe HashTable do
 4  subject { HashTable.new }
 5
 6  it "returns a default value" do
 7    expect(subject[:unkonwn]).to be_nil
 8  end
 9
10  it "can return the value associated to a key" do
11    subject[:name] = 'mo'
12    expect(subject[:name]).to eq('mo')
13  end
14end