diff options
Diffstat (limited to 'spec/ruby/library/date/month_spec.rb')
-rw-r--r-- | spec/ruby/library/date/month_spec.rb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/spec/ruby/library/date/month_spec.rb b/spec/ruby/library/date/month_spec.rb index 7a98f572b6..ea35430d6b 100644 --- a/spec/ruby/library/date/month_spec.rb +++ b/spec/ruby/library/date/month_spec.rb @@ -2,5 +2,8 @@ require File.expand_path('../../../spec_helper', __FILE__) require 'date' describe "Date#month" do - it "needs to be reviewed for spec completeness" + it "returns the month" do + m = Date.new(2000, 7, 1).month + m.should == 7 + end end |