Commit b61c5145824173615916bf1701638a171766f98c
Committed by
Antonio Terceiro
1 parent
f511358e
Exists in
master
and in
28 other branches
ActionItem1163: fixing an intermittent failing test
Showing
1 changed file
with
2 additions
and
0 deletions
Show diff stats
test/functional/cms_controller_test.rb
... | ... | @@ -1084,6 +1084,8 @@ class CmsControllerTest < Test::Unit::TestCase |
1084 | 1084 | @controller.stubs(:per_page).returns(1) |
1085 | 1085 | file = UploadedFile.create!(:profile => profile, :uploaded_data => fixture_file_upload('/files/feed.xml', 'text/xml')) |
1086 | 1086 | file2 = UploadedFile.create!(:profile => profile, :uploaded_data => fixture_file_upload('/files/test.txt', 'text/plain')) |
1087 | + file2.created_at = 1.day.ago | |
1088 | + file2.save! | |
1087 | 1089 | |
1088 | 1090 | get :media_listing, :profile => profile.identifier |
1089 | 1091 | ... | ... |