require_relative '../../spec_helper' require_relative 'fixtures/classes' describe "String#hash" do it "returns a hash based on a string's length and content" do "abc".hash.should == "abc".hash "abc".hash.should_not == "cba".hash end end