summaryrefslogtreecommitdiff
path: root/spec/lib/system_check/app/git_user_default_ssh_config_check_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/lib/system_check/app/git_user_default_ssh_config_check_spec.rb')
-rw-r--r--spec/lib/system_check/app/git_user_default_ssh_config_check_spec.rb7
1 files changed, 6 insertions, 1 deletions
diff --git a/spec/lib/system_check/app/git_user_default_ssh_config_check_spec.rb b/spec/lib/system_check/app/git_user_default_ssh_config_check_spec.rb
index 7125bfcab59..a0fb86345f3 100644
--- a/spec/lib/system_check/app/git_user_default_ssh_config_check_spec.rb
+++ b/spec/lib/system_check/app/git_user_default_ssh_config_check_spec.rb
@@ -16,7 +16,12 @@ describe SystemCheck::App::GitUserDefaultSSHConfigCheck do
end
it 'only whitelists safe files' do
- expect(described_class::WHITELIST).to contain_exactly('authorized_keys', 'authorized_keys2', 'known_hosts')
+ expect(described_class::WHITELIST).to contain_exactly(
+ 'authorized_keys',
+ 'authorized_keys2',
+ 'authorized_keys.lock',
+ 'known_hosts'
+ )
end
describe '#skip?' do