Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix Date#to_date test to actually perform method call

  • Loading branch information...
commit 36b92dfa4435ff1629c714fe74153050e8fc6370 1 parent 17b239f
@adzap authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  activesupport/test/core_ext/date_ext_test.rb
View
2  activesupport/test/core_ext/date_ext_test.rb
@@ -38,7 +38,7 @@ def test_to_datetime
def test_to_date
date = Date.new(2005, 2, 21)
- assert date.equal?(date)
+ assert date.equal?(date.to_date)
end
def test_change
Please sign in to comment.
Something went wrong with that request. Please try again.