summaryrefslogtreecommitdiff
path: root/spec/unit/puppet/type/anchor_spec.rb
blob: c738a272b7f3a5ad09f9640af661e9729af3589d (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
    expect(anchor.to_s).to eq("Anchor[ntp::begin]")
  end
end