Sha256: 29b26347439ae1c4c4769a8af91c2f5a1780c7a26d64f750bbd949791d430ad9
Contents?: true
Size: 848 Bytes
Versions: 17
Compression:
Stored size: 848 Bytes
Contents
require 'spec_helper' require 'puppet-debugger/plugin_test_helper' describe :help do include_examples "plugin_tests" let(:args) { [] } let(:help_output) do plugin.run(args) end it 'can show the help screen' do expected_debugger_output = /Type \"commands\" for a list of debugger commands\nor \"help\" to show the help screen.\n\n/ expect(help_output).to match(expected_debugger_output) end it 'show puppet version' do expect(help_output).to match(/Puppet Version: \d.\d\d?.\d+\n/) end it 'show ruby version' do expect(help_output).to match(/Ruby Version: #{RUBY_VERSION}\n/) end it 'show debugger version' do expect(help_output).to match(/Puppet Debugger Version: \d.\d\d?.\d+\n/) end it 'show created by' do expect(help_output).to match(/Created by: NWOps <corey@nwops.io>\n/) end end
Version data entries
17 entries across 17 versions & 1 rubygems