Sha256: d735cc878e5db9f36829c6f31445c093a72ca64f7c7d43e9c112c613172cc1c7
Contents?: true
Size: 517 Bytes
Versions: 22
Compression:
Stored size: 517 Bytes
Contents
require 'spec_helper' require 'puppet-debugger' require 'puppet-debugger/plugin_test_helper' describe :facts do include_examples 'plugin_tests' let(:args) { ['$::fqdn', 'facts'] } it 'should be able to resolve fqdn' do debugger_output = /foo\.example\.com/ output = plugin.run(args[0]) expect(output).to match(debugger_output) end it 'should be able to print facts' do debugger_output = /kernel/ plugin.run(args[1]) expect(plugin.run(args[1])).to match(debugger_output) end end
Version data entries
22 entries across 22 versions & 1 rubygems