Sha256: 224ed6184b5d1e6a4e38b8d62ed0a69afa8747951dc9334f510444258fc40eb4

Contents?: true

Size: 225 Bytes

Versions: 6

Compression:

Stored size: 225 Bytes

Contents

#!/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

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
puppet-retrospec-0.12.1 spec/fixtures/modules/stdlib/spec/unit/puppet/type/anchor_spec.rb
puppet-retrospec-0.12.0 spec/fixtures/modules/stdlib/spec/unit/puppet/type/anchor_spec.rb
puppet-retrospec-0.11.0 spec/fixtures/modules/stdlib/spec/unit/puppet/type/anchor_spec.rb
puppet-retrospec-0.10.0 spec/fixtures/modules/stdlib/spec/unit/puppet/type/anchor_spec.rb
puppet-retrospec-0.9.1 spec/fixtures/modules/stdlib/spec/unit/puppet/type/anchor_spec.rb
puppet-retrospec-0.9.0 spec/fixtures/modules/stdlib/spec/unit/puppet/type/anchor_spec.rb