Sha256: b609ed41a008fde7f5a4947807f4e4f80c83d8f3ceb9b51890656b4361ff21fe
Contents?: true
Size: 297 Bytes
Versions: 52
Compression:
Stored size: 297 Bytes
Contents
require File.expand_path('../../../spec_helper', __FILE__) require File.expand_path('../fixtures/classes.rb', __FILE__) 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
Version data entries
52 entries across 52 versions & 2 rubygems