Sha256: 0161178dc32cad54a1cee16c87b1da4b3fa329bb164ed672010cf5b9e31e195c
Contents?: true
Size: 542 Bytes
Versions: 3
Compression:
Stored size: 542 Bytes
Contents
require 'spec_helper' require 'wgif/cli' describe 'frame order bug', regression: true do it 'does not create frames out of order' do args = ['https://www.youtube.com/watch?v=piWCBOsJr-w', 'banana-shoot.gif', '-s', '2:22', '-d', '17', '-f', '170'] WGif::CLI.new.make_gif(args) frames = Dir.entries('/tmp/wgif/frames') filenames = (1..170).map {|n| sprintf "%05d.png", n } expect(frames).to eq([".", ".."] + filenames) end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
wgif-0.5.1 | spec/regression/frame_order_spec.rb |
wgif-0.5.0 | spec/regression/frame_order_spec.rb |
wgif-0.4.0 | spec/regression/frame_order_spec.rb |