summaryrefslogtreecommitdiffstats
path: root/spec/unit/application
diff options
context:
space:
mode:
authorDaniel Pittman <daniel@puppetlabs.com>2011-05-05 16:24:26 -0700
committerDaniel Pittman <daniel@puppetlabs.com>2011-05-05 16:30:51 -0700
commit61edff9ba5e8e4f8db8bb9cd5a84a986b8703c5d (patch)
tree9b926e293d8e0bb0cf92c136b0975c2bbf491ff7 /spec/unit/application
parent1c7bb924bd38042a6b03b5e7a32c24c602087eea (diff)
downloadpuppet-61edff9ba5e8e4f8db8bb9cd5a84a986b8703c5d.tar.gz
puppet-61edff9ba5e8e4f8db8bb9cd5a84a986b8703c5d.tar.xz
puppet-61edff9ba5e8e4f8db8bb9cd5a84a986b8703c5d.zip
(#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 <max@puppetlabs.com>
Diffstat (limited to 'spec/unit/application')
-rwxr-xr-xspec/unit/application/face_base_spec.rb11
1 files changed, 0 insertions, 11 deletions
diff --git a/spec/unit/application/face_base_spec.rb b/spec/unit/application/face_base_spec.rb
index 25797ea3e..2a9a22356 100755
--- a/spec/unit/application/face_base_spec.rb
+++ b/spec/unit/application/face_base_spec.rb
@@ -329,15 +329,4 @@ EOT
}.to have_printed(/you invoked the 's' rendering hook/)
end
end
-
- describe "#render_as=" do
- # This is for compatibility with the format name in 2.7.0rc1, but isn't a
- # long term desirable name. We can't just randomly drop it since it was
- # released, though, so it will live for a couple of major versions.
- # --daniel 2011-05-04
- it "should treat :for_humans as a synonym for :console" do
- app.render_as = :for_humans
- app.render_as.name.should == :console
- end
- end
end