blob: 4fb452d486fd962a69768ab93fcc557e1f784641 (
plain)
1
2
3
4
5
6
7
8
|
require_relative '../../spec_helper'
require 'date'
describe "Date#hash" do
it "returns the same value for equal dates" do
Date.civil(2004, 7, 12).hash.should == Date.civil(2004, 7, 12).hash
end
end
|