HomePhorge

(PUP-2402) add sshkey spec tests
9ab099b6be68Unpublished

Unpublished Commit · Learn More

Repository Importing: This repository is still importing.

Description

(PUP-2402) add sshkey spec tests

This commit adds tests for the sshkey type. They can be automated in
rspec at much lower cost than acceptance.
Convert John's earlier closed PR to spec tests. Add tests for the full
range of encryption types. Add a negative test for unknown encryption
types.
Move the test to provider directory as it's testing provider
functionality.

This commit also fixes a deprecation warning for testing file modes. It
used to use should, use expect instead.

Event Timeline

Eric Thompson <eric.thompson@puppetlabs.com> committed rPU9ab099b6be68: (PUP-2402) add sshkey spec tests (authored by Eric Thompson <eric.thompson@puppetlabs.com>).Jan 16 2015, 3:23 AM