From d4477ab12d3050e7ff3a4df76842d5e778648b6f Mon Sep 17 00:00:00 2001 From: Francis Irving Date: Wed, 3 Mar 2010 19:55:10 +0000 Subject: Check size of attachment --- spec/controllers/request_controller_spec.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'spec/controllers/request_controller_spec.rb') diff --git a/spec/controllers/request_controller_spec.rb b/spec/controllers/request_controller_spec.rb index c0cc1ac26..27647e04e 100644 --- a/spec/controllers/request_controller_spec.rb +++ b/spec/controllers/request_controller_spec.rb @@ -1193,6 +1193,7 @@ describe RequestController, "authority uploads a response from the web interface attachments = new_im.get_attachments_for_display attachments.size.should == 1 attachments[0].filename.should == "parrot.png" + attachments[0].display_size.should == "94K" end end -- cgit v1.2.3