summaryrefslogtreecommitdiff
path: root/spec/ruby/library/date/succ_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/library/date/succ_spec.rb')
-rw-r--r--spec/ruby/library/date/succ_spec.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/spec/ruby/library/date/succ_spec.rb b/spec/ruby/library/date/succ_spec.rb
index c4a902aa63..0b14d3bb73 100644
--- a/spec/ruby/library/date/succ_spec.rb
+++ b/spec/ruby/library/date/succ_spec.rb
@@ -2,5 +2,7 @@ require_relative '../../spec_helper'
require 'date'
describe "Date#succ" do
- it "needs to be reviewed for spec completeness"
+ it "is an alias of Date#next" do
+ Date.instance_method(:succ).should == Date.instance_method(:next)
+ end
end