From 642dcc445d9465a1746209fb5e7125f3f7421c34 Mon Sep 17 00:00:00 2001 From: Artem Sidorenko Date: Fri, 23 Dec 2016 13:01:21 +0100 Subject: [PATCH] Fix the broken master Due to the parallel merge of GH-151 and GH-150 --- spec/recipes/server_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/recipes/server_spec.rb b/spec/recipes/server_spec.rb index 63eeab8..ee65b1e 100644 --- a/spec/recipes/server_spec.rb +++ b/spec/recipes/server_spec.rb @@ -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 @@ -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