Commit 65953cdc authored by Eric Davis's avatar Eric Davis

[#123] Fix AttachmentsController test from 1f882883

parent 1f882883
......@@ -121,8 +121,8 @@ class AttachmentsControllerTest < ActionController::TestCase
assert_redirected_to '/projects/ecookbook'
assert_nil Attachment.find_by_id(1)
j = issue.journals.find(:first, :order => 'created_at DESC')
assert_equal [1], j.details.keys
assert_equal 'error281.txt', j.details[1].first
assert_equal ['attachments_1'], j.details.keys
assert_equal 'error281.txt', j.details['attachments_1'].first
def test_destroy_wiki_page_attachment
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment