aboutsummaryrefslogtreecommitdiffstats
path: root/spec/controllers/request_controller_spec.rb
diff options
context:
space:
mode:
authorFrancis Irving <francis@mysociety.org>2010-03-03 19:55:10 +0000
committerFrancis Irving <francis@mysociety.org>2010-03-03 19:55:10 +0000
commitd4477ab12d3050e7ff3a4df76842d5e778648b6f (patch)
tree21d05a53a3c99aeaa68e844609efd4f864d6d31e /spec/controllers/request_controller_spec.rb
parent35a1badffb09a1ed10a733ec7e1460b8edfb8648 (diff)
Check size of attachment
Diffstat (limited to 'spec/controllers/request_controller_spec.rb')
-rw-r--r--spec/controllers/request_controller_spec.rb1
1 files changed, 1 insertions, 0 deletions
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