From 0a7bbb08e11aa34918a1c75484f105d030a147cd Mon Sep 17 00:00:00 2001 From: Sam Date: Wed, 24 Jul 2013 17:24:28 +1000 Subject: [PATCH] fix broken build --- lib/cooked_post_processor.rb | 2 +- spec/components/cooked_post_processor_spec.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/cooked_post_processor.rb b/lib/cooked_post_processor.rb index bb87f8fcaf5..094fef76edf 100644 --- a/lib/cooked_post_processor.rb +++ b/lib/cooked_post_processor.rb @@ -164,7 +164,7 @@ class CookedPostProcessor filename = get_filename(upload, img['src']) informations = "#{original_width}x#{original_height}" - informations << " • #{number_to_human_size(upload.filesize)}" if upload + informations << " #{number_to_human_size(upload.filesize)}" if upload meta.add_child create_span_node("filename", filename) meta.add_child create_span_node("informations", informations) diff --git a/spec/components/cooked_post_processor_spec.rb b/spec/components/cooked_post_processor_spec.rb index 6879e64b3e9..55fae32e2d9 100644 --- a/spec/components/cooked_post_processor_spec.rb +++ b/spec/components/cooked_post_processor_spec.rb @@ -138,7 +138,7 @@ describe CookedPostProcessor do it "generates overlay information" do cpp.post_process_images cpp.html.should match_html '
-uploaded.jpg1000x2000 • 1.21 KB +uploaded.jpg1000x2000 1.21 KB
' cpp.should be_dirty end