From 5120a95830183fdb30fc178452bfc3e6f44605b7 Mon Sep 17 00:00:00 2001 From: Daniel Pittman Date: Tue, 3 May 2011 14:36:13 -0700 Subject: (#7276) Better reporting from the plugin download action. Instead of just returning vague values, return useful information when rendering for a human being. Based on work by Luke Kaines in https://github.com/lak/puppet/commit/a61cc770ca9b2cad744b5b21b9776a834d6ca895 Reviewed-By: Pieter van de Bruggen --- spec/unit/face/plugin_spec.rb | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 spec/unit/face/plugin_spec.rb (limited to 'spec') diff --git a/spec/unit/face/plugin_spec.rb b/spec/unit/face/plugin_spec.rb new file mode 100755 index 000000000..383aaa3d3 --- /dev/null +++ b/spec/unit/face/plugin_spec.rb @@ -0,0 +1,10 @@ +#!/usr/bin/env rspec +require 'spec_helper' +require 'puppet/face' + +describe Puppet::Face[:plugin, '0.0.1'] do + [:download].each do |action| + it { should be_action action } + it { should respond_to action } + end +end -- cgit