Sha256: 074b61ae23d710c33b13b4c0924fe70a2956cb4adc8b91bc6c0d82cd63235592

Contents?: true

Size: 692 Bytes

Versions: 2

Compression:

Stored size: 692 Bytes

Contents

# require 'spec_helper'

# describe_recipe 'git::server' do
#   it { expect(chef_run).to include_recipe('git::default') }
#   it do
#     expect(chef_run).to create_directory(chef_run.node['git']['server']['base_path'])
#       .with(owner: 'root')
#       .with(group: 'root')
#       .with(mode: '0755')
#   end
#   it do
#     expect(chef_run).to create_template('/etc/xinetd.d/git')
#       .with(backup: false)
#       .with(source: 'git-xinetd.d.erb')
#       .with(owner: 'root')
#       .with(group: 'root')
#       .with(mode: '0644')
#   end
#   it { expect(chef_run).to enable_service('xinetd') }
#   it { expect(chef_run).to restart_service('xinetd') }
# end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
chef-12.8.1 acceptance/top-cookbooks/test_run/git/spec/unit/recipes/server_spec.rb
chef-12.8.1-universal-mingw32 acceptance/top-cookbooks/test_run/git/spec/unit/recipes/server_spec.rb