summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Wolfe <jes5199@gmail.com>2010-08-16 17:15:45 -0700
committerMarkus Roberts <Markus@reality.com>2010-08-21 13:07:22 -0700
commit57bb06b557c74e227cb0f9799e698aecf90ea9a4 (patch)
treec7be2b83c26af229a62ae9d80ef01f987a7eff5b
parent82b4f04f6b8fee7ada275fc63e519a08e1c2b0a5 (diff)
downloadpuppet-57bb06b557c74e227cb0f9799e698aecf90ea9a4.tar.gz
puppet-57bb06b557c74e227cb0f9799e698aecf90ea9a4.tar.xz
puppet-57bb06b557c74e227cb0f9799e698aecf90ea9a4.zip
[#4545] Remove obsolete 'trac' specs
The method that these specs were testing has been removed, causing the specs to fail.
-rwxr-xr-xspec/unit/application/doc_spec.rb19
1 files changed, 0 insertions, 19 deletions
diff --git a/spec/unit/application/doc_spec.rb b/spec/unit/application/doc_spec.rb
index 7a22f5b2e..55da5e39a 100755
--- a/spec/unit/application/doc_spec.rb
+++ b/spec/unit/application/doc_spec.rb
@@ -27,10 +27,6 @@ describe Puppet::Application::Doc do
@doc.should respond_to(:rdoc)
end
- it "should declare a trac command" do
- @doc.should respond_to(:trac)
- end
-
it "should declare a fallback for unknown options" do
@doc.should respond_to(:handle_unknown)
end
@@ -270,21 +266,6 @@ describe Puppet::Application::Doc do
end
describe "when running" do
- before :each do
- end
-
- describe "in trac mode" do
- it "should call trac for each reference" do
- ref = stub 'ref'
- Puppet::Util::Reference.stubs(:reference).with(:ref).returns(ref)
- @doc.options.stubs(:[]).with(:references).returns([:ref])
- @doc.options.stubs(:[]).with(:mode).returns(:trac)
-
- ref.expects(:trac)
-
- @doc.trac
- end
- end
describe "in rdoc mode" do
before :each do