spec/dragonfly/temp_object_spec.rb in dragonfly-0.4.3 vs spec/dragonfly/temp_object_spec.rb in dragonfly-0.4.4

- old
+ new

@@ -38,12 +38,12 @@ describe "common behaviour for #each", :shared => true do it "should yield 8192 bytes each time" do parts = get_parts(@temp_object) parts[0...-1].each do |part| - part.length.should == 8192 + part.bytesize.should == 8192 end - parts.last.length.should <= 8192 + parts.last.bytesize.should <= 8192 end end describe "configuring #each" do \ No newline at end of file