From 61edff9ba5e8e4f8db8bb9cd5a84a986b8703c5d Mon Sep 17 00:00:00 2001 From: Daniel Pittman Date: Thu, 5 May 2011 16:24:26 -0700 Subject: (#7353) Remove :for_humans format entirely. Since we never shipped this in a real release, we don't need to maintain compatibility. So, remove it entirely from the codebase. Reviewed-By: Max Martin --- spec/unit/interface/action_builder_spec.rb | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'spec/unit/interface') diff --git a/spec/unit/interface/action_builder_spec.rb b/spec/unit/interface/action_builder_spec.rb index 89aef26d0..c39860591 100755 --- a/spec/unit/interface/action_builder_spec.rb +++ b/spec/unit/interface/action_builder_spec.rb @@ -200,16 +200,6 @@ 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 - render_as :for_humans - end - action.render_as.should == :for_humans - end - [:if_you_define_this_format_you_frighten_me, "json", 12].each do |input| it "should fail if given #{input.inspect}" do expect { -- cgit