Sha256: 4ab8fff4eef43b536fd2d8772e35a38498a3d000ff6de848580a54c457b2dcec
Contents?: true
Size: 548 Bytes
Versions: 50
Compression:
Stored size: 548 Bytes
Contents
require File.dirname(__FILE__) + '/../../spec_helper' describe Sprinkle::Actors::Local do before do @local = Sprinkle::Actors::Local.new end describe 'when processing commands' do before do @commands = %w( op1 op2 ) @roles = %w( app ) @name = 'name' @local.stub!(:system).and_return end it 'should run the commands on the local system' do @local.should_receive(:system).twice.and_return end after do @local.process @name, @commands, @roles end end end
Version data entries
50 entries across 50 versions & 11 rubygems