Sha256: e18bfe2ed0077e2f1ab21151aa2f4b630ddce94016719d691c4511ec0d02433e
Contents?: true
Size: 363 Bytes
Versions: 1
Compression:
Stored size: 363 Bytes
Contents
# frozen_string_literal: true require 'spec_helper' describe Mina::Runner::System do subject(:runner) { described_class.new('echo hello') } describe '#run' do before do allow(Kernel).to receive(:system) end it 'executes the script' do runner.run expect(Kernel).to have_received(:system).with('echo hello') end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
mina-1.2.5 | spec/lib/mina/runner/system_spec.rb |