summaryrefslogtreecommitdiff
path: root/spec/unit/puppet/type/anchor_spec.rb
blob: f92065f79ba0ab4398755407153bce48811520ea (plain)
1
2
3
4
5
6
7
8
9
10
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
    anchor.to_s.should == "Anchor[ntp::begin]"
  end
end