Sha256: 6dd96ea6f43865b1244903c729acefd56daf7048d22789ef8adf93354e4d6c53
Contents?: true
Size: 635 Bytes
Versions: 18
Compression:
Stored size: 635 Bytes
Contents
# frozen_string_literal: true require 'ehbrs/tools/runner' RSpec.describe ::Ehbrs::Tools::Runner::Videos::Probe do let(:source_file) { stub_video_source_file } let(:target_dir) { ::Pathname.new(__dir__).expand_path / 'probe_spec_files' } let(:target_file) { target_dir / 'fixed.target.yaml' } let(:target_content) { target_file.read.gsub('%%PATH%%', source_file.to_path) } let(:argv) { %w[videos probe] + [source_file.to_path] } let(:runner) { ::Ehbrs::Tools::Runner.create(argv: argv) } describe '#run' do it do expect { runner.run }.to(output(target_content).to_stdout_from_any_process) end end end
Version data entries
18 entries across 18 versions & 1 rubygems