spec/datamosh_spec.rb in aviglitch-0.1.2 vs spec/datamosh_spec.rb in aviglitch-0.1.3

- old
+ new

@@ -31,24 +31,31 @@ system [@cmd, @in].join(' ') o = AviGlitch.open @out o.frames.size.should == total o.frames.first.is_keyframe?.should be true + o.has_keyframe?.should be true o.close AviGlitch::Base.surely_formatted?(@out, true).should be true system [@cmd, '-a', @in].join(' ') o = AviGlitch.open @out o.frames.size.should == total o.frames.first.is_keyframe?.should be false + o.has_keyframe?.should be false o.close AviGlitch::Base.surely_formatted?(@out, true).should be true system [@cmd, @in, @in, @in].join(' ') o = AviGlitch.open @out o.frames.size.should == total * 3 o.frames.first.is_keyframe?.should be true o.close AviGlitch::Base.surely_formatted?(@out, true).should be true - end + system [@cmd, '--fake', @in].join(' ') + o = AviGlitch.open @out + o.has_keyframe?.should be false + o.close + + end end