From 65953cdc04482230f8aa987b399bc23d2a7f84ed Mon Sep 17 00:00:00 2001 From: Eric Davis Date: Fri, 6 May 2011 14:27:29 -0700 Subject: [PATCH] [#123] Fix AttachmentsController test from 1f88288 --- test/functional/attachments_controller_test.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/functional/attachments_controller_test.rb b/test/functional/attachments_controller_test.rb index 223cc0bb..2a482464 100644 --- a/test/functional/attachments_controller_test.rb +++ b/test/functional/attachments_controller_test.rb @@ -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 end def test_destroy_wiki_page_attachment