require 'spec_helper' describe MurmurHash do it "gc safe" do all.each do |c| murmur = c.new init = murmur.to_s GC.start murmur.update("murmur") GC.start expect(murmur.update("hash").to_s != init).to be true end end end