Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions spec/recipes/server_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@
context 'with provided login banner path' do
cached(:chef_run) do
ChefSpec::ServerRunner.new do |node|
node.normal['ssh-hardening']['ssh']['banner'] = '/etc/ssh/banner'
node.normal['ssh-hardening']['ssh']['server']['banner'] = '/etc/ssh/banner'
end.converge(described_recipe)
end

Expand All @@ -224,7 +224,7 @@
context 'with enabled debian banner' do
cached(:chef_run) do
ChefSpec::ServerRunner.new(platform: 'ubuntu', version: '16.04') do |node|
node.normal['ssh-hardening']['ssh']['os_banner'] = true
node.normal['ssh-hardening']['ssh']['server']['os_banner'] = true
end.converge(described_recipe)
end

Expand All @@ -237,7 +237,7 @@
context 'with centos as platform' do
cached(:chef_run) do
ChefSpec::ServerRunner.new(platform: 'centos', version: '7.2.1511') do |node|
node.normal['ssh-hardening']['ssh']['os_banner'] = true
node.normal['ssh-hardening']['ssh']['server']['os_banner'] = true
end.converge(described_recipe)
end

Expand Down