summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--test/unit/time_entry_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/time_entry_test.rb b/test/unit/time_entry_test.rb
index 59f416c9e..b86b1c53a 100644
--- a/test/unit/time_entry_test.rb
+++ b/test/unit/time_entry_test.rb
@@ -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
id='n91' href='#n91'>91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119