spec/unit/wgif/video_spec.rb in wgif-0.3.0 vs spec/unit/wgif/video_spec.rb in wgif-0.3.1

- old
+ new

@@ -44,10 +44,10 @@ frames = video.to_frames frames.count.should eq(3) end it 'returns a specific number of frames' do - frames = '/tmp/wgif/frames/%2d.png' + frames = '/tmp/wgif/frames/%5d.png' options = '-vf fps=5' expect(clip).to receive(:transcode).with(frames, options) FileUtils.stub(:rm) expect(clip).to receive(:duration).and_return 2 expect(Dir).to receive(:glob).with('/tmp/wgif/frames/*.png').twice