Sha256: 6123c25cbce6c77cca95a9c34c1abbe0dc82a49540764fc5d989c54cb8b7f95b
Contents?: true
Size: 357 Bytes
Versions: 1
Compression:
Stored size: 357 Bytes
Contents
# frozen_string_literal: true require 'spec_helper' describe Mina::Runner::Exec do subject(:runner) { described_class.new('echo hello') } describe '#run' do before do allow(Kernel).to receive(:exec) end it 'executes the script' do runner.run expect(Kernel).to have_received(:exec).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/exec_spec.rb |