spec/spec.google_hash.rb in google_hash-0.6.2 vs spec/spec.google_hash.rb in google_hash-0.7.0

- old
+ new

@@ -3,10 +3,11 @@ require_relative '../ext/google_hash' begin require 'spec/autorun' rescue LoadError require 'rspec' # rspec2 + require 'rspec/autorun' end describe "google_hash" do before do @@ -100,17 +101,9 @@ end it "should disallow non numeric keys" do lambda { @subject['33']}.should raise_error(TypeError) end - -# it "should allow for non numeric keys" do - # todo instantiate new type here... - # todo allow for floats, ints, symbols, strings [freeze 'em] - # wait are any of those actually useful tho? -# @subject['33'] = 33 -# @subject['33'].should == 33 -# end it "should return nil if key is absent" do @subject[33].should be_nil end