From 2f5605d402c2f0efe2a8ea18c1c89fba69e7e1ea Mon Sep 17 00:00:00 2001 From: Antonio Terceiro Date: Thu, 23 Jul 2009 17:23:48 -0300 Subject: [PATCH] ActionItem1163: fixing another intermittent failing test --- test/functional/cms_controller_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/functional/cms_controller_test.rb b/test/functional/cms_controller_test.rb index 59d1cf6..1280d20 100644 --- a/test/functional/cms_controller_test.rb +++ b/test/functional/cms_controller_test.rb @@ -1070,7 +1070,7 @@ class CmsControllerTest < Test::Unit::TestCase system('echo "image for test" | convert -background yellow -page 32x32 text:- %s' % filename) image = UploadedFile.create!(:profile => profile, :uploaded_data => fixture_file_upload(fixture_filename, 'image/jpg')) - image2 = UploadedFile.create!(:profile => profile, :uploaded_data => fixture_file_upload('/files/rails.png', 'image/png')) + image2 = UploadedFile.create!(:profile => profile, :uploaded_data => fixture_file_upload('/files/rails.png', 'image/png'), :created_at => 1.day.ago) get :media_listing, :profile => profile.identifier -- libgit2 0.21.2