diff options
author | Jacob Helwig <jacob@technosorcery.net> | 2018-07-02 10:07:18 -0700 |
---|---|---|
committer | Jacob Helwig <jacob@technosorcery.net> | 2018-07-02 10:22:13 -0700 |
commit | 950a6c0a21896989118badc0f541f7469752c63f (patch) | |
tree | fa26c6a5cd53626ac3cddc4922c47add356c6435 /spec/acceptance | |
parent | d924063f51efc6be9bccfa6444bfde1f552b83a8 (diff) | |
download | puppet-sshkeys_core-950a6c0a21896989118badc0f541f7469752c63f.tar.gz puppet-sshkeys_core-950a6c0a21896989118badc0f541f7469752c63f.tar.bz2 |
Remove test blocked on ticket marked as "Won't Do"
Since PUP-1605 was closed as "Won't Do", there doesn't seem to be much
reason in keeping around an acceptance test (even if it is a pending one)
that tests the scenario that PUP-1605 would have allowed.
Diffstat (limited to 'spec/acceptance')
-rw-r--r-- | spec/acceptance/tests/resource/ssh_authorized_key/query_spec.rb | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/spec/acceptance/tests/resource/ssh_authorized_key/query_spec.rb b/spec/acceptance/tests/resource/ssh_authorized_key/query_spec.rb deleted file mode 100644 index 08a0b1d..0000000 --- a/spec/acceptance/tests/resource/ssh_authorized_key/query_spec.rb +++ /dev/null @@ -1,28 +0,0 @@ -require 'spec_helper_acceptance' - -RSpec.context 'ssh_authorized_key: Query' do - let(:auth_keys) { '~/.ssh/authorized_keys' } - let(:name) { "pl#{rand(999_999).to_i}" } - - before do - posix_agents.each do |agent| - on(agent, "cp #{auth_keys} /tmp/auth_keys", acceptable_exit_codes: [0, 1]) - on(agent, "echo '' >> #{auth_keys} && echo 'ssh-rsa mykey #{name}' >> #{auth_keys}") - end - end - - after do - posix_agents.each do |agent| - # (teardown) restore the #{auth_keys} file - on(agent, "mv /tmp/auth_keys #{auth_keys}", acceptable_exit_codes: [0, 1]) - end - end - - posix_agents.each do |agent| - it "#{agent} should be able to find an existing SSH authorized key", pending: 'Blocked by PUP-1605' do - on(agent, puppet_resource('ssh_authorized_key', "/#{name}")) do |_res| - expect(stdout).to include(name.to_s) - end - end - end -end |