summaryrefslogtreecommitdiffstats
path: root/test/unit/document_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/unit/document_test.rb')
-rw-r--r--test/unit/document_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/document_test.rb b/test/unit/document_test.rb
index 9adcd4724..e4243dd60 100644
--- a/test/unit/document_test.rb
+++ b/test/unit/document_test.rb
@@ -41,7 +41,7 @@ class DocumentTest < ActiveSupport::TestCase
doc = Document.new(:project => Project.find(1), :title => 'New document', :category => Enumeration.find_by_name('User documentation'))
assert doc.save
end
- assert_equal 1, ActionMailer::Base.deliveries.size
+ assert_equal 2, ActionMailer::Base.deliveries.size
end
def test_create_with_default_category