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