Skip to content

Commit 69b6330

Browse files
author
Marc Chamberland
committed
style fix
1 parent 7722313 commit 69b6330

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/recipes/server_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@
252252
context 'with an invalid string' do
253253
let(:permit_tunnel) { 'IAmNotValid' }
254254
it 'abort the Chef run' do
255-
expect { chef_run }.not_to raise_exception('Incorrect value for attribute node[\'ssh-hardening\'][\'ssh\'][\'server\'][\'permit_tunnel\']: must be boolean or a string as defined in the sshd_config man pages, you passed "IAmNotValid"')
255+
expect { chef_run }.to_not raise_exception('Incorrect value for attribute node[\'ssh-hardening\'][\'ssh\'][\'server\'][\'permit_tunnel\']: must be boolean or a string as defined in the sshd_config man pages, you passed "IAmNotValid"')
256256
end
257257
end
258258
end

0 commit comments

Comments
 (0)