summaryrefslogtreecommitdiff
path: root/spec/unit/puppet/type/anchor_spec.rb
blob: 2030b83f2e34715179ed356a463e801684824fe4 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/usr/bin/env ruby

require 'puppet'

anchor = Puppet::Type.type(:anchor).new(:name => "ntp::begin")

describe anchor do
  it "should stringify normally" do
    anchor.to_s.should == "Anchor[ntp::begin]"
  end
end