]> git.donarmstrong.com Git - dsa-puppet.git/blobdiff - 3rdparty/modules/stdlib/spec/unit/puppet/type/anchor_spec.rb
upgrade to stdlib 4.6.1
[dsa-puppet.git] / 3rdparty / modules / stdlib / spec / unit / puppet / type / anchor_spec.rb
diff --git a/3rdparty/modules/stdlib/spec/unit/puppet/type/anchor_spec.rb b/3rdparty/modules/stdlib/spec/unit/puppet/type/anchor_spec.rb
new file mode 100755 (executable)
index 0000000..c738a27
--- /dev/null
@@ -0,0 +1,11 @@
+#!/usr/bin/env ruby
+
+require 'spec_helper'
+
+anchor = Puppet::Type.type(:anchor).new(:name => "ntp::begin")
+
+describe anchor do
+  it "should stringify normally" do
+    expect(anchor.to_s).to eq("Anchor[ntp::begin]")
+  end
+end