diff --git a/test/unit/comment_test.rb b/test/unit/comment_test.rb index 4a46c4c..cbcd09f 100644 --- a/test/unit/comment_test.rb +++ b/test/unit/comment_test.rb @@ -398,6 +398,9 @@ class CommentTest < ActiveSupport::TestCase end should 'update article activity when add a comment' do + now = Time.now + Time.stubs(:now).returns(now) + profile = create_user('testuser').person article = create(TinyMceArticle, :profile => profile) -- libgit2 0.21.2