summaryrefslogtreecommitdiffstats
path: root/spec
diff options
context:
space:
mode:
authorJesse Wolfe <jes5199@gmail.com>2011-02-01 16:59:23 -0800
committerJesse Wolfe <jes5199@gmail.com>2011-02-01 16:59:23 -0800
commitc677f5bd4bb18ec93b82d8f39f317dd40963c2cc (patch)
tree0d7d3617762d3076bd080c39a78a1e92568cb839 /spec
parent9b064e655f90bb5aa2f95e343e9c22765ddf4998 (diff)
parent66b442b723f1e74b934381227955cc30d64f3636 (diff)
downloadpuppet-c677f5bd4bb18ec93b82d8f39f317dd40963c2cc.tar.gz
puppet-c677f5bd4bb18ec93b82d8f39f317dd40963c2cc.tar.xz
puppet-c677f5bd4bb18ec93b82d8f39f317dd40963c2cc.zip
Merge remote branch 'james/tickets/2.6.x/5916' into 2.6.next
Diffstat (limited to 'spec')
-rwxr-xr-xspec/integration/reference/providers_spec.rb4
-rwxr-xr-xspec/unit/application/doc_spec.rb4
2 files changed, 4 insertions, 4 deletions
diff --git a/spec/integration/reference/providers_spec.rb b/spec/integration/reference/providers_spec.rb
index 8b95ca118..c2b1e17c5 100755
--- a/spec/integration/reference/providers_spec.rb
+++ b/spec/integration/reference/providers_spec.rb
@@ -11,7 +11,7 @@ describe reference do
reference.should_not be_nil
end
- it "should be able to be rendered as text" do
- lambda { reference.to_text }.should_not raise_error
+ it "should be able to be rendered as markdown" do
+ lambda { reference.to_markdown }.should_not raise_error
end
end
diff --git a/spec/unit/application/doc_spec.rb b/spec/unit/application/doc_spec.rb
index 55da5e39a..ed723636b 100755
--- a/spec/unit/application/doc_spec.rb
+++ b/spec/unit/application/doc_spec.rb
@@ -48,10 +48,10 @@ describe Puppet::Application::Doc do
@doc.options[:mode].should == :text
end
- it "should init format to to_rest" do
+ it "should init format to to_markdown" do
@doc.preinit
- @doc.options[:format].should == :to_rest
+ @doc.options[:format].should == :to_markdown
end
end