diff options
author | Daniel Pittman <daniel@puppetlabs.com> | 2011-05-04 10:40:55 -0700 |
---|---|---|
committer | Daniel Pittman <daniel@puppetlabs.com> | 2011-05-04 12:28:44 -0700 |
commit | dda32647b4c11ecb352e469088f2438835ff99d7 (patch) | |
tree | a9e420f5978e15ce0eacdeca51a3a18d3ea8e944 /spec | |
parent | efd118114bab228b5f8f4a437ead8be2cc895d8a (diff) | |
download | puppet-dda32647b4c11ecb352e469088f2438835ff99d7.tar.gz puppet-dda32647b4c11ecb352e469088f2438835ff99d7.tar.xz puppet-dda32647b4c11ecb352e469088f2438835ff99d7.zip |
(#7353) Note the :for_humans compatibility issue.
Where we need special support for :for_humans as an alias for :console, call
it out in comments. This makes it clear to someone who wonders why what the
actual underlying purpose of the whole thing is.
Reviewed-By: Jacob Helwig <jacob@puppetlabs.com>
Diffstat (limited to 'spec')
-rwxr-xr-x | spec/unit/interface/action_builder_spec.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/spec/unit/interface/action_builder_spec.rb b/spec/unit/interface/action_builder_spec.rb index e0d0ebe72..89aef26d0 100755 --- a/spec/unit/interface/action_builder_spec.rb +++ b/spec/unit/interface/action_builder_spec.rb @@ -200,6 +200,8 @@ describe Puppet::Interface::ActionBuilder do end end + # :for_humans is an alias for :console, and deprecated, but since we + # shipped it in 2.7.0rc1 we need to support it. --daniel 2011-05-04 it "should accept :for_humans format" do action = Puppet::Interface::ActionBuilder.build(face, :foo) do when_invoked do true end |