Sha256: 11bd75fc4aa393403405d5a6d82c4d987d1595a9dc3dd1d109ae8c601449af14

Contents?: true

Size: 346 Bytes

Versions: 5

Compression:

Stored size: 346 Bytes

Contents

require 'spec_helper'

describe Chake::Backend::Local do

  include_examples "Chake::Backend", Chake::Backend::Local

  let(:node) { Chake::Node.new('local://myhost/srv/chef') }

  it('runs commands with sh -c') { expect(backend.command_runner).to eq(['sh', '-c']) }

  it('rsyncs locally') { expect(backend.rsync_dest).to eq('/srv/chef/') }
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
chake-0.1.4 spec/chake/backend/local_spec.rb
chake-0.1.3 spec/chake/backend/local_spec.rb
chake-0.1.2 spec/chake/backend/local_spec.rb
chake-0.1.1 spec/chake/backend/local_spec.rb
chake-0.1.0 spec/chake/backend/local_spec.rb