aboutsummaryrefslogtreecommitdiffstats
path: root/spec/ruby/library/date/day_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/library/date/day_spec.rb')
-rw-r--r--spec/ruby/library/date/day_spec.rb5
1 files changed, 4 insertions, 1 deletions
diff --git a/spec/ruby/library/date/day_spec.rb b/spec/ruby/library/date/day_spec.rb
index 7dfca4d77c..d3561d802d 100644
--- a/spec/ruby/library/date/day_spec.rb
+++ b/spec/ruby/library/date/day_spec.rb
@@ -2,5 +2,8 @@ require File.expand_path('../../../spec_helper', __FILE__)
require 'date'
describe "Date#day" do
- it "needs to be reviewed for spec completeness"
+ it "returns the day" do
+ d = Date.new(2000, 7, 1).day
+ d.should == 1
+ end
end