Sha256: 6e5667776565d11b555ef06ba85877205db359b32ed65dd4cad0d940641c9421
Contents?: true
Size: 441 Bytes
Versions: 8
Compression:
Stored size: 441 Bytes
Contents
require 'spec_helper' describe 'Exec Helpers' do before :each do @exec = Object.new @exec.send :extend, Mina::ExecHelpers allow(@exec).to receive(:print_char) end it 'pretty_system' do @exec.pretty_system "echo 'Hello there'" expect(@exec).to have_received(:print_char). with("e").with("r").with("e").with("h").with("t"). with(" "). with("o").with("l").with("l").with("e").with("H") end end
Version data entries
8 entries across 8 versions & 2 rubygems