1
0
mirror of https://github.com/meineerde/redmine.git synced 2025-12-24 01:11:12 +00:00
git-svn-id: http://svn.redmine.org/redmine/trunk@14629 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2015-09-30 18:50:01 +00:00
parent dfa69b2eb0
commit 785569b980

View File

@ -190,7 +190,7 @@ class AttachmentTest < ActiveSupport::TestCase
assert_equal "test.png (Cool image)", a.title
end
def test_new_attachment_should_be_editable_by_authot
def test_new_attachment_should_be_editable_by_author
user = User.find(1)
a = Attachment.new(:author => user)
assert_equal true, a.editable?(user)