1
0
mirror of https://github.com/meineerde/redmine.git synced 2026-01-10 01:21:32 +00:00

Only make sure it's a date.

git-svn-id: http://svn.redmine.org/redmine/trunk@15600 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2016-07-02 07:53:31 +00:00
parent 7ea1932990
commit d9a0084b76

View File

@ -122,7 +122,7 @@ class TimeEntryTest < ActiveSupport::TestCase
def test_spent_on_with_time
c = TimeEntry.new
c.spent_on = Time.now
assert_equal Date.today, c.spent_on
assert_kind_of Date, c.spent_on
end
def test_validate_time_entry