summaryrefslogtreecommitdiffstats
path: root/spec/unit/provider/host
diff options
context:
space:
mode:
authorDaniel Pittman <daniel@rimspace.net>2011-03-03 00:40:50 -0800
committerDaniel Pittman <daniel@rimspace.net>2011-03-03 16:30:08 -0800
commit3954576bca044e4fa9c3d74047fdd0833be0c5b6 (patch)
treefd69d9a95d3ddb9eb465f086fa94fe307307edc3 /spec/unit/provider/host
parent53b6df3781fe67a3e7fd686cb93cad50c40c6ce3 (diff)
downloadpuppet-3954576bca044e4fa9c3d74047fdd0833be0c5b6.tar.gz
puppet-3954576bca044e4fa9c3d74047fdd0833be0c5b6.tar.xz
puppet-3954576bca044e4fa9c3d74047fdd0833be0c5b6.zip
(#6582) eliminate fakeresource use in ssh_authorized_key spec.
We replace it with an instance of the actual resource we are testing, which reduces the number of ways this code is tied to the specific implementation. Reviewed-By: Nick Lewis <nick@puppetlabs.com>
Diffstat (limited to 'spec/unit/provider/host')
-rwxr-xr-xspec/unit/provider/host/parsed_spec.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/unit/provider/host/parsed_spec.rb b/spec/unit/provider/host/parsed_spec.rb
index 3ed479974..048d77ba2 100755
--- a/spec/unit/provider/host/parsed_spec.rb
+++ b/spec/unit/provider/host/parsed_spec.rb
@@ -1,6 +1,7 @@
#!/usr/bin/env ruby
require File.expand_path(File.dirname(__FILE__) + '/../../../spec_helper')
+require 'shared_behaviours/all_parsedfile_providers'
require 'puppet_spec/files'