Sha256: c6ee220348ab3e77185f3e042797e91a26c31ecb3f5284225b3bed8788732ae6
Contents?: true
Size: 390 Bytes
Versions: 16
Compression:
Stored size: 390 Bytes
Contents
#!/usr/bin/env ruby require File.dirname(__FILE__) + '/../lib/puppettest' require 'puppet' require 'puppettest' class TestError < Test::Unit::TestCase include PuppetTest def test_errorisstring error = nil assert_nothing_raised { error = Puppet::ParseError.new("This is an error") } assert_instance_of(String, error.to_s) end end
Version data entries
16 entries across 16 versions & 1 rubygems