spec/milton/is_uploadable_spec.rb in citrusbyte-milton-0.1.7 vs spec/milton/is_uploadable_spec.rb in citrusbyte-milton-0.1.8

- old
+ new

@@ -51,9 +51,11 @@ @attachment.save File.exists?(@attachment.path).should be_true end it "should have the same filesize as original file when large enough not to be a StringIO" do + # FIXME: this doesn't actually upload as a StringIO, figure out how to + # force that @attachment.save File.size(@attachment.path).should be_eql(File.size(File.join(File.dirname(__FILE__), '..', 'fixtures', 'milton.jpg'))) end it "should have the same filesize as original file when small enough to be a StringIO" do \ No newline at end of file