public
Description: Treat an ActiveRecord model as a file attachment, storing its patch, size, content type, etc.
Homepage: http://weblog.techno-weenie.net
Clone URL: git://github.com/technoweenie/attachment_fu.git
Click here to lend your support to: attachment_fu and make a donation at www.pledgie.com !
remove file size check in core image spec
rick (author)
Wed Apr 23 00:17:39 -0700 2008
commit  47447569571d5d17e337215c5be42cb35547b181
tree    2a5077263aea074b460e98f9a28f970e614aa072
parent  c57e50a4c7b3a74fda9004d6f157c4fbb44ce9ba
...
28
29
30
31
32
33
34
...
28
29
30
 
31
32
33
0
@@ -28,7 +28,6 @@ describe AttachmentFu::Pixels::CoreImage do
0
         data = @pixels.resize_image image, :size => '40x40', :to => File.join(AttachmentFu.root_path, 'resized.jpg')
0
         data.width.should == 40
0
         data.height.should == 38
0
- data.size.should == 2339
0
       end
0
     end
0
   end

Comments

    No one has commented yet.