blob: 0b26214b551bdc4d0e1c0240c96e079f1db4f6e6 (
plain)
1
2
3
4
5
6
7
8
9
|
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
|