blob: 4720ddcd9ac52b3a29425faa0891fade38482eba (
plain)
1
2
3
4
5
6
7
8
9
|
require File.expand_path('../../../spec_helper', __FILE__)
require 'date'
describe "Date#year" do
it "returns the year" do
y = Date.new(2000, 7, 1).year
y.should == 2000
end
end
|