diff options
-rw-r--r-- | test/unit/attachment_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/attachment_test.rb b/test/unit/attachment_test.rb index ffc8fe1cd..4c3a13151 100644 --- a/test/unit/attachment_test.rb +++ b/test/unit/attachment_test.rb @@ -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) |