summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/unit/attachment_test.rb3
1 files changed, 0 insertions, 3 deletions
diff --git a/test/unit/attachment_test.rb b/test/unit/attachment_test.rb
index ad759152f..8e6a58c9f 100644
--- a/test/unit/attachment_test.rb
+++ b/test/unit/attachment_test.rb
@@ -138,9 +138,6 @@ class AttachmentTest < ActiveSupport::TestCase
end
def test_identical_attachments_at_the_same_time_should_not_overwrite
- time = DateTime.now
- DateTime.stubs(:now).returns(time)
-
a1 = Attachment.create!(:container => Issue.find(1),
:file => uploaded_test_file("testfile.txt", ""),
:author => User.find(1))