spec/ffmpeg/encoding_options_spec.rb in streamio-ffmpeg-0.6.3 vs spec/ffmpeg/encoding_options_spec.rb in streamio-ffmpeg-0.6.4

- old
+ new

@@ -32,10 +32,10 @@ EncodingOptions.new(:resolution => "640x480").to_s.should include("-s 640x480") end it "should add calculated aspect ratio" do EncodingOptions.new(:resolution => "640x480").to_s.should include("-aspect 1.3333333") - EncodingOptions.new(:resolution => "640x360").to_s.should include("-aspect 1.77777777777778") + EncodingOptions.new(:resolution => "640x360").to_s.should include("-aspect 1.7777777777777") end it "should use specified aspect ratio if given" do EncodingOptions.new(:resolution => "640x480", :aspect => 1.77777777777778).to_s.should == "-s 640x480 -aspect 1.77777777777778"