Sha256: 0168e4e255a334ebe600d9a58d0949fcd89c4efaaf2cdf2f869eebe8b4b9079a
Contents?: true
Size: 426 Bytes
Versions: 11
Compression:
Stored size: 426 Bytes
Contents
require 'spec_helper' require 'wgif/video_cache' describe WGif::VideoCache do let(:cache) { described_class.new } it 'checks for existing video files in /tmp' do pathname = double(Pathname) expect(Pathname).to receive(:new).and_return(pathname) expect(pathname).to receive(:exist?).and_return(true) expect(WGif::Video).to receive(:new).with('video', '/tmp/wgif/video') cache.get('video') end end
Version data entries
11 entries across 11 versions & 1 rubygems